/* --- UI REFINEMENTS --- */

/* Modern Card-Style Photo Upload */
.photo-preview-large, .photo-preview {
    width: 200px !important;
    height: 200px !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 24px !important;
    overflow: hidden !important;
    border: 2px dashed #cbd5e1 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.photo-preview-large:hover, .photo-preview:hover {
    border-color: #4710EB !important;
    background: rgba(71, 16, 235, 0.04) !important;
}

/* Photo Banner Overlay */
.photo-badge {
    position: absolute !important;
    bottom: -100% !important;
    right: 0 !important;
    left: 0 !important;
    background: rgba(71, 16, 235, 0.85) !important;
    height: 45px !important;
    width: 100% !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    backdrop-filter: blur(8px) !important;
    transition: all 0.3s ease !important;
    opacity: 0 !important;
    margin: 0 !important;
}

.photo-preview-large:hover .photo-badge, .photo-preview:hover .photo-badge {
    bottom: 0 !important;
    opacity: 1 !important;
}

.photo-badge i {
    font-size: 14px !important;
    color: white !important;
}

/* Centered & Large Filter Tabs */
.category-tabs {
    justify-content: center !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
}

/* Compact Selection Cards */
.class-card {
    padding: 10px !important;
}

.class-card-label {
    font-size: 11px !important;
}

/* Side-by-Side Layout Wrapper */
.photo-layout-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Space Reduction */
.photo-capture-container, .photo-upload-container {
    padding: 10px 20px !important;
}

.photo-capture-container h4, .wizard-step h2 {
    margin-top: 0 !important;
}

@media (max-width: 600px) {
    .photo-layout-wrapper {
        flex-direction: column;
        gap: 16px;
    }
}

/* Hide Scrollbars while maintaining scrolling */
.wizard-body, .form-area, .category-tabs, .class-selection-grid, .wizard-content {
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
}

.wizard-body::-webkit-scrollbar, 
.form-area::-webkit-scrollbar, 
.category-tabs::-webkit-scrollbar, 
.class-selection-grid::-webkit-scrollbar,
.wizard-content::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, and Opera */
}

/* Developer Credit Footer (Integrated Single Row) */
.wizard-navigation, .wizard-footer {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 24px !important;
    flex-shrink: 0 !important;
}

.dev-footer-inline {
    text-align: center;
    font-size: 8.5px;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.dev-footer-inline a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
}

.dev-footer-inline a:hover {
    color: #4710EB;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .wizard-navigation, .wizard-footer {
        grid-template-columns: 1fr 1fr !important;
    }
    .dev-footer-inline {
        grid-row: 2;
        grid-column: 1 / span 2;
        margin-top: 8px;
    }
}

.school-branding-name {
    color: #4710EB;
    font-weight: 700;
}

/* Tiered Header Styles */
.header-tier-micro {
    font-size: 8px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 2px !important;
}

.header-tier-brand {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #4710EB !important;
    line-height: 1.1 !important;
    margin: 4px 0 !important;
}

.header-tier-sub {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin-top: 2px !important;
}

.wizard-header, .portal-header {
    display: none !important;
}

.wizard-progress-container, .steps-container {
    padding: 15px 20px 20px !important;
    text-align: center !important;
}

/* Step Indicator Refinements (Compact) */
.wizard-step-circle, .step-icon {
    width: 22px !important;
    height: 22px !important;
    font-size: 9px !important;
    border-width: 1.5px !important;
}

.wizard-step-label, .step-label {
    font-size: 8.5px !important;
    margin-top: 4px !important;
}

.step-icon i {
    font-size: 10px !important;
}

/* Progress Line Alignment for smaller circles */
.step-indicators::before, .progress-bar {
    top: 11px !important;
}

.wizard-progress-bar, .wizard-progress-fill {
    height: 2px !important;
}
