.arise-datepicker {
    display: inline-block;
    width: 100%;
}

.arise-datepicker-calendar {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    margin-top: 4px;
    width: 260px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    padding: 10px;
    font-size: 13px;
    box-sizing: border-box;
}

.arise-datepicker-calendar * {
    box-sizing: border-box;
}

.adp-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    position: relative;
}

.adp-nav {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    width: 26px;
    height: 26px;
    border-radius: 4px;
    line-height: 1;
}

.adp-nav:hover {
    background: #f0f0f0;
}

.adp-month-btn {
    flex: 1;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    padding: 4px 6px;
    border-radius: 4px;
}

.adp-month-btn:hover {
    background: #f0f0f0;
}

.adp-year-input {
    width: 70px;
    padding: 4px 6px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    text-align: center;
    font-size: 13px;
}

.adp-month-dropdown {
    position: absolute;
    top: 32px;
    left: 26px;
    z-index: 5;
    width: 150px;
    max-height: 220px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    padding: 4px;
}

.adp-month-option {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.adp-month-option:hover {
    background: #eef4ff;
}

.adp-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    color: #888;
    margin-bottom: 4px;
}

.adp-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.adp-day {
    border: none;
    background: transparent;
    padding: 6px 0;
    border-radius: 4px;
    cursor: pointer;
}

.adp-day:hover {
    background: #eef4ff;
}

.adp-day-adjacent {
    color: #bbb;
}

.adp-day-selected {
    background: #2f6fed;
    color: #fff;
}

.adp-day-selected:hover {
    background: #2f6fed;
}

.adp-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    border-top: 1px solid #eee;
    padding-top: 6px;
}

.adp-footer-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #2f6fed;
    font-size: 12px;
    padding: 4px 6px;
}

.adp-footer-btn.adp-clear {
    color: #c0392b;
}

.adp-footer-btn:hover {
    text-decoration: underline;
}

.adp-month-btn {
    text-wrap: nowrap;
}