/* AOCN 2026 Custom Styles */

:root {
    --primary-color: #1e88e5;
    --primary-dark: #0d47a1;
    --secondary-color: #7b1fa2;
    --accent-purple: #a855f7;
    --accent-cyan: #00bcd4;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --dark-color: #1a237e;
    --light-color: #f5f5f5;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Navigation */
.navbar {
    background: linear-gradient(90deg, #0d47a1, #7b1fa2, #00bcd4) !important;
}

.navbar-brand {
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: linear-gradient(90deg, #1a237e, #0d47a1) !important;
}

/* Hero Section */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Cards */
.card {
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.card-dates {
    border: 2px solid #00bcd4;
    background: rgba(30, 136, 229, 0.1);
    transition: all 0.3s ease;
}

.card-dates:hover {
    border-color: #a855f7;
    transform: translateY(-8px);
}

.section-gradient-bg {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

/* Buttons */
.btn {
    border-radius: 0.5rem;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.btn-lg {
    padding: 0.75rem 2rem;
}

/* Forms */
.form-control,
.form-select {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Alerts */
.alert {
    border-radius: 0.5rem;
    border: none;
}

/* Badge */
.badge {
    padding: 0.5em 1em;
    border-radius: 0.5rem;
}

/* Tables */
.table {
    border-radius: 0.5rem;
    overflow: hidden;
}

.table thead {
    background-color: var(--primary-color);
    color: white;
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Price Display */
.price-display {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
}

.price-savings {
    color: var(--secondary-color);
    font-weight: bold;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* Schedule Grid */
.schedule-grid {
    display: grid;
    gap: 1rem;
}

.schedule-session {
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.schedule-session.addon {
    border-left-color: var(--warning-color);
}

/* Dashboard Stats */
.stat-card {
    border-left: 4px solid var(--primary-color);
}

.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* QR Code Display */
.qr-code-container {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Badge Preview */
.badge-preview {
    border: 2px solid #ddd;
    border-radius: 1rem;
    padding: 2rem;
    background-color: white;
}

/* Conflict Warning */
.conflict-warning {
    background-color: #fff3cd;
    border-left: 4px solid var(--warning-color);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .price-display {
        font-size: 1.5rem;
    }

    .stat-card .stat-value {
        font-size: 2rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .no-print {
        display: none !important;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #1e88e5 0%, #7b1fa2 50%, #00bcd4 100%);
}

/* Brain Icon Animation */
.brain-icon {
    font-size: 100px;
    color: #a855f7;
    animation: float 3s ease-in-out infinite;
}

  .brain-icon img {
    width: 30%;
    height: auto;
    display: block;
    margin: 0 auto;
  } 
  @media (min-width: 992px) {
    .brain-icon img {
      width: 100%;
    }
  }

/* Gradient Text */
.gradient-text {
    background: linear-gradient(90deg, #1e88e5, #7b1fa2, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}
