/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Feature Icons */
.feature-icon i {
    font-size: 3rem;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Form Styles */
.form-section {
    background: #f8f9fa;
    padding: 40px 0;
}

.form-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 15px;
    background: #e9ecef;
    position: relative;
}

.step.active {
    background: #0d6efd;
    color: white;
}

.step.completed {
    background: #198754;
    color: white;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #e9ecef;
    z-index: 1;
}

.step.active:not(:last-child)::after {
    border-left-color: #0d6efd;
}

.step.completed:not(:last-child)::after {
    border-left-color: #198754;
}

/* Hall Ticket Styles */
.hall-ticket {
    border: 3px solid #0d6efd;
    padding: 30px;
    background: white;
    max-width: 800px;
    margin: 0 auto;
}

.hall-ticket-header {
    text-align: center;
    border-bottom: 2px solid #0d6efd;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.hall-ticket-logo {
    font-size: 3rem;
    color: #0d6efd;
}

.candidate-photo {
    width: 120px;
    height: 140px;
    border: 2px solid #333;
    object-fit: cover;
}

.signature-img {
    width: 150px;
    height: 50px;
    border-bottom: 1px solid #333;
}

.barcode {
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

/* Responsive Tables */
.table-responsive {
    overflow-x: auto;
}

/* Announcement Badge */
.announcement-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Contact Form */
.contact-info {
    background: #0d6efd;
    color: white;
    padding: 30px;
    border-radius: 10px;
}

.contact-info i {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Print Styles for Hall Ticket */
@media print {
    .no-print {
        display: none !important;
    }
    
    .hall-ticket {
        border: 2px solid #000;
        page-break-inside: avoid;
    }
    
    body {
        background: white;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
        min-height: auto;
    }
    
    .step-indicator {
        flex-direction: column;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .step {
        margin-bottom: 10px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

/* Success Alert */
.alert-success-custom {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 20px;
}

/* File Upload */
.custom-file-upload {
    border: 2px dashed #0d6efd;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.custom-file-upload:hover {
    background: #f0f0f0;
    border-color: #0a58ca;
}

.custom-file-upload i {
    font-size: 2rem;
    color: #0d6efd;
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
