/**
 * TestSeriesPro Championship Engine - Custom Stylesheet
 * Styles uneditable states, interactive slot tiles, and cascading widgets.
 */

/* 1. Verify UDISE Button */
.btn-verify-udise {
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(26, 126, 251, 0.15);
}

.btn-verify-udise:hover {
    background-color: #1565c0 !important;
    box-shadow: 0 4px 8px rgba(26, 126, 251, 0.25);
    transform: translateY(-1px);
}

.btn-verify-udise:active {
    transform: translateY(0);
}

/* 2. Visual Slot Picker Cards */
.slot-tile-card {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

.slot-tile-card.active-slot {
    border-color: #1a7efb !important;
    background-color: #eff6ff !important;
    box-shadow: 0 4px 12px 0 rgba(26, 126, 251, 0.15) !important;
}

.slot-tile-card.active-slot::after {
    content: "✓";
    position: absolute;
    top: 10px;
    right: 12px;
    width: 18px;
    height: 18px;
    background-color: #1a7efb;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 11px;
    line-height: 18px;
    font-weight: 700;
}

/* 3. Dynamic Form Selects */
.dynamic-area-select,
.dynamic-school-dropdown {
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.dynamic-area-select:focus,
.dynamic-school-dropdown:focus {
    border-color: #1a7efb !important;
    box-shadow: 0 0 0 3px rgba(26, 126, 251, 0.15);
    outline: none;
}

/* 4. Premium Zonal Info Cards */
.premium-zone-card {
    transition: all 0.3s ease;
    animation: slideInDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 5. Custom uneditable/readonly visual states */
input[readonly] {
    background-color: #f3f4f6 !important;
    border-color: #e5e7eb !important;
    color: #4b5563 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

input[readonly]:focus {
    border-color: #e5e7eb !important;
    box-shadow: none !important;
    outline: none !important;
}
