@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&display=swap');
.cairo-uniquifier {
  font-family: 'Cairo', sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings:
    "slnt" 0;
}
@keyframes oopooIn{
    from{
        opacity: 0;
        transform: translateY(-10px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes listItemIn{
    from{
        opacity: 0;
        transform: translateY(-6px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes jak{
    0%{
        opacity: 0;
        transform: translateY(0px);
    }
    100%{
        opacity: 1;
        transform: translateY(174px);
    }
}
.options{
    height: 85%;
    display: flex;
    direction: rtl;
    flex-direction: column;
    justify-content: space-evenly;
}
input{
    transition: all 0.3s ease-out;
    width: 170px;
    text-align: center;
    font-family: 'Cairo';
    font-size: large;
    background-color: #D6E7F3;
    color: #0C0E0B;
    border: none;
    border-bottom: solid 2px #D6303A;
}
h2{
    color: #D6E7F3;
    margin: 0 0 8px 0;
    font-size: 1.125rem;
    position: relative;
    letter-spacing: 0.3px;
}
input:focus{
    outline: none;
    background-color: #fff;
    box-shadow: 0 6px 18px rgba(214,48,58,0.25), 0 2px 6px rgba(12,14,11,0.2);
    transform: translateY(-1px);
    font-size: 1.0625rem;
}
input:hover{
    background-color: #0C0E0B;
    color: #D6E7F3;
    box-shadow: 0 4px 14px rgba(12,14,11,0.25) inset;
}
.oopoo{
    user-select: none;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    align-items: flex-start;
    opacity: 0;
    transform: translateY(-10px);
    animation: oopooIn 0.5s ease forwards;
    padding: 4px 0;
}
.options .oopoo:nth-child(1){ animation-delay: 0ms; }
.options .oopoo:nth-child(2){ animation-delay: 80ms; }
.options .oopoo:nth-child(3){ animation-delay: 160ms; }
.options .oopoo:nth-child(4){ animation-delay: 240ms; }
.options .oopoo:nth-child(5){ animation-delay: 320ms; }
.options .oopoo:nth-child(6){ animation-delay: 400ms; }
#milady::-webkit-calendar-picker-indicator{
    background-color: white;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
}
#hijri{
    text-align: center;
}
#hijri::-webkit-calendar-picker-indicator{
    display: none;
}
#citylist , #madhablist , #methodlist {
    position: relative;
    display: none;
    list-style: none;
    margin: 0;
    padding: 4px 0;
    color: #D6E7F3;
    font-size: 0.95rem;
    font-weight: 500;
    width: 174px;
    z-index: 1;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform-origin: top;
    transform: scaleY(0.96);
    visibility: hidden;
    background: rgba(12,14,11,0.92);
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.25);
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.35s ease, visibility 0s linear 0.35s;
}
#citylist.open , #madhablist.open , #methodlist.open {
    overflow: auto;
    max-height: 240px;
    opacity: 1;
    transform: scaleY(1);
    visibility: visible;
    transition: max-height 0.45s ease, opacity 0.3s ease, transform 0.35s ease, visibility 0s linear 0s;
}
#citylist li , #madhablist li , #methodlist li{
    opacity: 0;
    transform: translateY(-6px);
    font-size: 0.9rem; /* 14px - Appropriate for list items */
    font-weight: 500;
    padding: 2px 0;
}
#citylist.open li , #madhablist.open li , #methodlist.open li{
    animation: listItemIn 0.25s ease forwards;
    animation-delay: var(--i, 0ms);
}
#citylist::-webkit-scrollbar , #methodlist::-webkit-scrollbar {
    width: 4px;
    transition: all 0.2s;
};
#citylist::-webkit-scrollbar-track , #methodlist::-webkit-scrollbar-track {
    background: #0C0E0B ;
}

#citylist::-webkit-scrollbar-thumb , #methodlist::-webkit-scrollbar-thumb{
    background: #D6E7F3 ;
}

#citylist::-webkit-scrollbar-thumb:hover , #methodlist::-webkit-scrollbar-thumb:hover{
    background: #D6303A ;
}
.cityys , .madhaab ,.methodee {
    transition: all 0.2s;
    background-color: #D6303A;
    border-bottom: solid 0.1rem #D6E7F3;
    height: auto /*37.2px*/;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.875rem; /* 14px */
    font-weight: 500;
    text-align: center;
}
.methodee{
    height: auto;
    min-height: 40px;
    font-size: 0.85rem; /* 13px - Smaller for longer method names */
    line-height: 1.3;
}
.cityys:hover , .madhaab:hover , .methodee:hover{
    background-color: #D6E7F3;
    color: #D6303A;
    transform: translateX(-2px);
    font-weight: 600;
}
@media (max-width: 600px){
    h2 {
        font-size: 1rem; /* 16px on mobile */
    }
    
    input {
        font-size: 0.95rem; /* 15px on mobile */
        width: 160px;
    }
    
    #citylist, #madhablist, #methodlist {
        font-size: 0.9rem; /* 14px on mobile */
        width: 164px;
    }
    
    .cityys, .madhaab, .methodee {
        font-size: 0.825rem; /* 13px on mobile */
        padding: 6px 10px;
        min-height: 36px;
    }
    
    .methodee {
        font-size: 0.8rem; /* 12px on mobile */
    }
}

@media (max-width: 480px){
    h2 {
        font-size: 0.95rem; /* 15px on very small screens */
    }
    
    input {
        font-size: 0.9rem; /* 14px on very small screens */
        width: 150px;
    }
    
    #citylist, #madhablist, #methodlist {
        font-size: 0.85rem; /* 13px on very small screens */
        width: 154px;
    }
    
    .cityys, .madhaab, .methodee {
        font-size: 0.8rem; /* 12px on very small screens */
        min-height: 34px;
    }
}