/* * jQuery Ethiopian Datepicker 
 * Modern & Premium Styling with Year Navigation
 */

/* የካላንደሩ ዋና ሳጥን */
.eth-dp-container {
    box-sizing: border-box;
    display: none;
    position: absolute;
    background: #ffffff;
    border: 1px solid #e1e4e8;
    padding: 16px;
    z-index: 10000;
    width: 300px; 
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    animation: ethDpFadeIn 0.2s ease-out;
}

@keyframes ethDpFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* የላይኛው ክፍል (Header) */
.eth-dp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 12px;
}

/* መቆጣጠሪያዎቹን በአንድ ላይ የሚይዝ (Month + Year Nav) */
.header-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* የወር መምረጫ (Dropdown) */
.month-select {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #e1e4e8 !important;
    background-color: #ffffff !important;
    font-weight: 700 !important;
    cursor: pointer;
    font-size: 14px !important;
    padding: 6px 24px 6px 10px !important; 
    border-radius: 8px !important;
    outline: none !important;
    color: #2c3e50 !important;
    width: 100px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%233498db' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 8px) center;
}

/* የአመት ናቪጌሽን (Year Navigation) - አዲሱ ክፍል */
.year-navigation {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    overflow: hidden;
    height: 32px;
}

.year-display {
    padding: 0 10px;
    font-weight: 800;
    font-size: 14px;
    color: #2c3e50;
    min-width: 45px;
    text-align: center;
    line-height: 32px;
    background: #fff;
    border-left: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
}

.year-nav-btn {
    width: 28px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #3498db;
    font-weight: bold;
    font-size: 18px;
    user-select: none;
    transition: all 0.2s;
}

.year-nav-btn:hover {
    background: #f0f7ff;
    color: #2980b9;
}

/* የወር ቀስት በተኖች */
.prev-m, .next-m {
    cursor: pointer;
    color: #3498db;
    font-size: 22px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.prev-m:hover, .next-m:hover {
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* የቀናት ሰንጠረዥ */
.eth-dp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 1px;
}

.eth-dp-table th {
    font-size: 11px;
    color: #a0aec0;
    padding-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

/* ነጠላ ቀናት */
.eth-day {
    cursor: pointer;
    font-size: 14px;
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: inline-block;
    line-height: 36px;
    text-align: center;
    transition: all 0.2s ease;
    color: #4a5568;
}

.eth-day:hover {
    background: #edf2f7 !important;
    color: #2d3748;
}

/* ዛሬን የሚገልጽ */
.eth-day[style*="background:#3498db"], 
.eth-day[style*="background: rgb(52, 152, 219)"] {
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
    border-radius: 10px !important;
    color: #ffffff !important;
}

/* የግርጌ ክፍል */
.eth-dp-footer {
    text-align: center;
    margin-top: 12px;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
}

.go-today {
    display: inline-block;
    cursor: pointer;
    padding: 6px 16px;
    background: #f0f7ff;
    border-radius: 20px;
    color: #3498db !important;
    font-size: 12px;
    font-weight: 700;
}