/* ============================
   FORM ALERT MESSAGES
============================ */

.form-message {
    display: none;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 18px;
    line-height: 1.4;
    border: 1px solid transparent;
    animation: slideFade 0.3s ease;
}

.form-message i {
    margin-right: 8px;
}

/* SUCCESS */
.success {
    background: rgba(109, 255, 139, 0.12);
    color: #6dff8b;
    border-color: rgba(109, 255, 139, 0.35);
}

/* ERROR */
.error {
    color: #ff0000;
    border-color: #ff0000;
    font-weight: 600;
}

/* Animation */
@keyframes slideFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.checkbox-line.error {
    border: 1px solid #ff2d2d;
    padding: 10px;
    border-radius: 6px;
    background: rgba(255, 0, 0, 0.08);
}

/* ===============================
   DARK CRYPTO DATEPICKER THEME
================================ */

.ui-datepicker {
    background: #0f162c;
    border: 1px solid rgba(245,162,18,.5);
    border-radius: 12px;
    padding: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,.8);
    font-family: 'Inter', sans-serif;
    z-index: 9999 !important;
}

/* Header */
.ui-datepicker-header {
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Month / Year dropdowns */
.ui-datepicker select {
    background: #0b1125;
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 6px;
    padding: 4px 6px;
    font-size: 14px;
}

/* Navigation arrows */
.ui-datepicker-prev,
.ui-datepicker-next {
    top: 6px;
    cursor: pointer;
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
    filter: invert(1);
}

/* Calendar grid */
.ui-datepicker table {
    width: 100%;
    border-collapse: collapse;
}

/* Day names */
.ui-datepicker th {
    color: #aaa;
    font-weight: 500;
    padding: 6px 0;
    font-size: 12px;
}

/* Day cells */
.ui-datepicker td {
    padding: 2px;
}

.ui-datepicker td a {
    display: block;
    text-align: center;
    padding: 8px 0;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    background: transparent;
    transition: all .15s ease;
}

/* Hover */
.ui-datepicker td a:hover {
    background: rgba(245,162,18,.25);
    color: #fff;
}

/* Today */
.ui-datepicker-today a {
    border: 1px solid var(--gold);
    background: rgba(245,162,18,.15);
}

/* Selected date */
.ui-datepicker-current-day a {
    background: var(--gold) !important;
    color: #000 !important;
    font-weight: 700;
}

/* Disabled dates */
.ui-datepicker-unselectable span {
    color: rgba(255,255,255,.2);
    padding: 8px 0;
    display: block;
}

/* Remove default borders */
.ui-widget-header,
.ui-widget-content {
    border: none;
}

/* Prevent blue outline */
.ui-state-focus {
    outline: none;
}