/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    background-attachment: fixed;
}

/* Header Banner */
.header-banner {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1200&h=400&fit=crop');
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.header-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.header-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-content h1 ion-icon {
    font-size: 3rem;
    vertical-align: middle;
    margin-right: 10px;
}

.header-content p {
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Card Styling */
.card {
    border: none;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Elements */
h3 {
    color: #333;
    font-weight: bold;
}

h3 ion-icon {
    font-size: 2rem;
    vertical-align: middle;
    margin-right: 10px;
    color: #667eea;
}

.form-label {
    font-weight: 600;
    color: #555;
}

.form-label ion-icon {
    margin-right: 5px;
    vertical-align: middle;
}

.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Buttons */
.btn {
    border-radius: 10px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn ion-icon {
    vertical-align: middle;
    margin-left: 5px;
    margin-right: 5px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

/* Alert */
.alert {
    border-radius: 10px;
    border: none;
}

.alert ion-icon {
    font-size: 1.2rem;
    vertical-align: middle;
    margin-right: 8px;
}

/* Countdown Timer */
.countdown-timer {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 20px;
    border-radius: 15px;
    color: white;
}

.countdown-timer h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

#countdown {
    font-size: 2rem;
    font-weight: bold;
}

/* Spinner Container */
.spinner-container {
    padding: 30px 0;
}

/* Notification Container */
.notification-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1050;
    max-width: 350px;
}

.notification-item {
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    animation: slideInLeft 0.5s ease;
    border-left: 4px solid #28a745;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification-item.fade-out {
    animation: fadeOut 0.5s ease forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.notification-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.notification-icon ion-icon {
    font-size: 1.5rem;
    color: white;
}

.notification-content {
    flex: 1;
}

.notification-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
}

.notification-text {
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 600;
    margin-bottom: 2px;
}

.notification-time {
    font-size: 0.8rem;
    color: #999;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(10px);
}

.footer ion-icon {
    vertical-align: middle;
    margin-right: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2rem;
    }

    .header-content h1 ion-icon {
        font-size: 2rem;
    }

    .header-content p {
        font-size: 1rem;
    }

    .notification-container {
        max-width: 300px;
        left: 10px;
        bottom: 10px;
    }

    .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .header-banner {
        height: 250px;
    }

    .d-flex.gap-2 {
        flex-direction: column;
        gap: 10px !important;
    }

    .d-flex.gap-2 .btn {
        width: 100% !important;
    }
}

/* Input Group Button */
.input-group .btn-outline-secondary {
    border: 2px solid #e0e0e0;
    border-left: none;
}

.input-group .btn-outline-secondary:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}
