:root {
    --primary-color: #008B9B;
    --secondary-color: #80C5CF;
    --dark-teal: #004A52;
    --success-color: #28a745;
    --warning-color: #ff9800;
}

/* Background */
.bg-gradient-hero {
    background: linear-gradient(135deg, #008b9b1a 0%, #ffffff 100%);
}

/* Navbar */
.navbar-brand {
    padding: 0;
}

.circle-logo {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.text-logo {
    height: 30px;
    object-fit: contain;
}

/* Search */
.search-container {
    background: white;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 139, 155, 0.1);
}

.search-input {
    border: none;
    border-radius: 50px;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    width: 100%;
    background: transparent;
}

    .search-input:focus {
        outline: none;
        box-shadow: none;
    }

    .search-input::placeholder {
        color: #6c757d;
        opacity: 0.8;
    }

/* Buttons */
.btn-create {
    background: var(--primary-color) !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 20px 50px !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 8px 25px rgba(0, 139, 155, 0.3) !important;
    position: relative !important;
    overflow: hidden !important;
}

.wave-gif-bg {
    /*position: absolute;
    inset: 0;
    background: url('/img/animated-waves.gif') repeat-x center;
    background-size: cover;
    opacity: 0.15;
    mix-blend-mode: overlay;*/
    position: absolute;
    inset: 0;
    background: url(/img/animated-waves.gif) repeat-x center;
    background-size: cover;
    opacity: 0.15;
    mix-blend-mode: plus-lighter;
    margin-bottom: -22px;
    margin-right: -35px;
}

.btn-content {
    position: relative;
    z-index: 2;
}

.btn-create:hover {
    background: var(--dark-teal) !important;
    transform: translateY(-3px) scale(1.02) !important;
    box-shadow: 0 12px 30px rgba(0, 139, 155, 0.4) !important;
}

    .btn-create:hover .wave-gif-bg {
        opacity: 0.25;
    }

/* END OF BTN CREATE */

/* Auth Buttons */
.auth-buttons .btn {
    border-radius: 20px;
    padding: 8px 24px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-buttons .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

    .auth-buttons .btn-outline-primary:hover {
        background-color: var(--primary-color);
        color: white;
    }

.auth-buttons .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

    .auth-buttons .btn-primary:hover {
        background-color: var(--dark-teal);
        border-color: var(--dark-teal);
    }

/* Event Cards */
.event-card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

    .event-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }

.card-img-top {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

/* Badges and Labels */
.category-badge {
    background: rgba(0, 139, 155, 0.1);
    color: var(--primary-color);
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}

.featured-label,
.live-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.live-badge {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.upcoming-badge {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning-color);
}

/* Live Indicator */
.live-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--success-color);
    border-radius: 50%;
    margin-right: 6px;
    animation: pulseGlow 2s infinite;
}

/* Event Information */
.event-date {
    color: var(--primary-color);
    font-weight: 600;
}

.event-countdown {
    font-size: 0.9rem;
    color: var(--warning-color);
    font-weight: 500;
}

/* Event Tabs */
.event-tabs {
    position: relative;
    gap: 2rem;
    display: inline-flex;
    border-bottom: none;
}

    .event-tabs .nav-link {
        color: #6c757d;
        border: none;
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        background: transparent;
        position: relative;
    }

        .event-tabs .nav-link:hover {
            color: var(--primary-color);
        }

        .event-tabs .nav-link.active {
            color: var(--primary-color);
        }

            .event-tabs .nav-link.active::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 2px;
                background: var(--primary-color);
                border-radius: 2px;
            }

        .event-tabs .nav-link i {
            font-size: 1.2rem;
            vertical-align: -2px;
        }

/* Modal Styles */
.modal-content {
    border-radius: 20px;
    background: linear-gradient(to bottom, #ffffff, #f8fcfd);
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0;
}

    .modal-header .btn-close {
        margin: -0.5rem -0.5rem -0.5rem auto;
    }

/* Auth Tabs */
.auth-tabs {
    position: relative;
}

    .auth-tabs .nav-link {
        color: #6c757d;
        border: none;
        padding: 1rem;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.3s ease;
        background: transparent;
    }

        .auth-tabs .nav-link.active {
            color: var(--primary-color);
            position: relative;
        }

            .auth-tabs .nav-link.active::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
                width: 40%;
                height: 3px;
                background: var(--primary-color);
                border-radius: 3px;
            }

/* Form Styles */
.custom-input {
    border-radius: 12px;
    border: 1px solid #e0e6ed;
    padding: 1rem;
    height: calc(3.5rem + 2px);
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .custom-input:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 4px rgba(0, 139, 155, 0.1);
    }

.form-floating > label {
    padding: 1rem;
}

/* Validation Styles */
.input-validation-error {
    border-color: #dc3545;
}

    .input-validation-error:focus {
        border-color: #dc3545;
        box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
    }

.text-danger {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Animations */
@keyframes pulseGlow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.modal.fade .modal-dialog {
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* Tab Content Animation */
.tab-pane {
    transition: all 0.3s ease-in-out;
}

    .tab-pane.fade {
        transform: translateY(10px);
        opacity: 0;
    }

    .tab-pane.show {
        transform: translateY(0);
        opacity: 1;
    }


/* Footer Styles */
/* Enhanced Footer Styles */
.footer-links {
    margin-bottom: 1.5rem;
}

    .footer-links a {
        color: #6c757d;
        text-decoration: none;
        display: inline-block;
        margin-bottom: 0.5rem;
        transition: all 0.3s ease;
    }

        .footer-links a:hover {
            color: var(--primary-color);
            transform: translateX(5px);
        }

.footer h6 {
    color: #333;
    margin-bottom: 1.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #6c757d;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .social-link:hover {
        color: var(--primary-color);
        transform: translateY(-2px);
    }

.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 24px rgba(0, 139, 155, 0.1);
    padding: 0.5rem;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

    .dropdown-item:hover {
        background-color: rgba(0, 139, 155, 0.1);
        color: var(--primary-color);
    }

.dropdown-divider {
    margin: 0.5rem 0;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 139, 155, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    .loading-overlay.show {
        opacity: 1;
    }

.loading-content {
    text-align: center;
}

/* Spinner Ring Animation */
.spinner-ring {
    display: inline-block;
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced Index Footer Styles */
@media (max-width: 768px) {
    /* Company section */
    .footer .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }

    /* Social links */
    .social-links {
        justify-content: center;
        margin-bottom: 2rem;
        gap: 1.5rem;
    }

    .social-link {
        font-size: 1.5rem;
        padding: 0.5rem;
    }

    /* Links sections */
    .footer .col-6 {
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .footer-links a {
        display: block;
        padding: 0.5rem;
        margin: 0.25rem 0;
        border-radius: 8px;
        transition: all 0.3s ease;
        background-color: rgba(0, 0, 0, 0.02);
    }

        .footer-links a:hover {
            transform: none;
            background-color: rgba(0, 0, 0, 0.04);
        }

    /* Column headers */
    .footer h6 {
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    /* Copyright section */
    .footer .mt-5 {
        margin-top: 2rem !important;
    }

    .footer small {
        display: block;
        text-align: center;
        line-height: 1.6;
        margin-bottom: 0.5rem;
    }

    /* Bottom text alignment */
    .footer .text-md-start,
    .footer .text-md-end {
        text-align: center !important;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .footer {
        padding: 2rem 0;
    }

    /* Make social icons more prominent */
    .social-links {
        gap: 2rem;
    }

    .social-link {
        font-size: 1.75rem;
    }

    /* Improve link tap targets */
    .footer-links a {
        margin: 0.5rem 0;
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    /* Adjust bottom spacing */
    .footer .row.mt-5 {
        margin-top: 1.5rem !important;
    }

    .footer .border-top {
        padding-top: 1.5rem;
    }

    /* Make developer credit more readable */
    .footer .text-muted {
        opacity: 0.8;
    }
}

/* Extra extra small devices */
@media (max-width: 360px) {
    /* Stack columns full width */
    .footer .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Reduce padding to save space */
    .footer {
        padding: 1.5rem 0;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-link {
        font-size: 1.5rem;
    }

    .footer-links a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}