/* Magla Bend Custom Styles - Based on Hero Image Color Scheme */

:root {
    --primary-red: #dc3545;
    --primary-black: #000000;
    --primary-gray: #f8f9fa;
    --secondary-gray: #e9ecef;
    --text-dark: #212529;
    --hero-red: #c41e3a; /* Crvena iz hero slike */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
}

/* Hero Navbar - Dark background like footer */
.hero-navbar {
    background: #212529 !important;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-bottom: 2px solid rgba(220, 53, 69, 0.5);
    position: relative;
    z-index: 1000;
    padding: 0.5rem 0;
    min-height: 65px;
}

.hero-navbar .navbar-brand {
    font-weight: bold;
    transition: transform 0.3s ease;
    padding: 0 !important;
    margin: 0 !important;
    height: 120px;
    display: flex;
    align-items: center;
}

.hero-navbar .navbar-brand img {
    height: 120px !important;
    max-height: 120px !important;
    width: auto !important;
}

.hero-navbar .navbar-brand:hover {
    transform: scale(1.05);
}

.hero-navbar .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    margin: 0 0.15rem;
    border-radius: 8px;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    perspective: 1000px;
    line-height: 1.4;
}

.hero-navbar .nav-link::before {
    display: none;
}

.hero-navbar .nav-link:hover {
    color: white !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                0 15px 40px rgba(255, 255, 255, 0.15);
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-5px) translateZ(10px);
}

.hero-navbar .nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.hero-navbar .nav-link.active::before {
    display: none;
}

/* Register button has same style as other links now */
.hero-navbar .nav-link-register {
    margin-left: 0.5rem;
}

/* Main Navbar for other pages - Dark background like footer */
.main-navbar {
    background: #212529 !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
    border-bottom: 2px solid rgba(220, 53, 69, 0.5);
    position: relative;
    z-index: 1000;
    padding: 0.5rem 0;
    min-height: 65px;
}

.main-navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-red), transparent);
}

.main-navbar .navbar-brand {
    font-weight: bold;
    transition: transform 0.3s ease;
    padding: 0 !important;
    margin: 0 !important;
    height: 120px;
    display: flex;
    align-items: center;
}

.main-navbar .navbar-brand img {
    height: 120px !important;
    max-height: 120px !important;
    width: auto !important;
}

.main-navbar .navbar-brand:hover {
    transform: scale(1.05);
}

.main-navbar .navbar-collapse {
    display: flex !important;
}

.main-navbar .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 0.5rem;
}

.main-navbar .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    padding: 0.5rem 1.2rem !important;
    margin: 0 0.15rem;
    border-radius: 8px;
    position: relative;
    font-size: 0.95rem;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transform-style: preserve-3d;
    perspective: 1000px;
    line-height: 1.4;
}

.main-navbar .nav-link::before {
    display: none;
}

.main-navbar .nav-link:hover {
    color: white !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset,
                0 15px 40px rgba(255, 255, 255, 0.15);
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-5px) translateZ(10px);
}

.main-navbar .nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.main-navbar .nav-link.active::before {
    display: none;
}

/* Register button has same style as other links now */
.main-navbar .nav-link-register {
    margin-left: 0.5rem;
}

/* Hero Section - Based on Poster Design */
/* Image dimensions: 2084x980px = aspect ratio ~2.12:1 */
/* Background image is set dynamically in header.php to handle special characters */
.hero-section {
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    background-attachment: scroll;
    width: 100%;
    aspect-ratio: 2084 / 980;
    min-height: 300px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-color: var(--hero-red);
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(196, 30, 58, 0.2), rgba(196, 30, 58, 0.4));
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    width: 100%;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.hero-date-venue {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 1.5rem;
    padding: 0 2rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-date {
    font-size: 1.6rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-venue {
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn-hero {
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 1px;
}

.btn-hero-primary {
    background-color: white;
    border: 3px solid white;
    color: var(--primary-red);
    font-weight: 800;
}

.btn-hero-primary:hover {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    color: var(--primary-red);
}

.btn-hero-secondary {
    background-color: transparent;
    border: 3px solid white;
    color: white;
    font-weight: 800;
}

.btn-hero-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    color: white;
}

/* QR Code Frame */
.qr-code-frame {
    background: #ffffff;
    border: 3px solid var(--primary-red);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.qr-code-header {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.qr-code-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 1rem 0;
    border: 2px solid var(--secondary-gray);
    border-radius: 10px;
    padding: 10px;
    background: white;
}

.qr-code-footer {
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Profile Layout */
.profile-layout {
    align-items: flex-start;
}

/* Mobile Responsive Styles for Profile */
@media (max-width: 991px) {
    .profile-layout {
        flex-direction: column;
    }
    
    .qr-code-frame {
        margin: 0 auto;
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .qr-code-header {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .qr-code-image {
        max-width: 250px;
        padding: 8px;
    }
    
    .qr-code-footer {
        font-size: 1.2rem;
        margin-top: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .container.my-5 {
        padding-left: 1rem;
        padding-right: 1rem;
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    h2.text-center {
        font-size: 1.5rem;
        margin-bottom: 1.5rem !important;
    }
    
    .qr-code-frame {
        padding: 1rem;
        border-width: 2px;
    }
    
    .qr-code-header {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .qr-code-image {
        max-width: 200px;
        padding: 5px;
    }
    
    .qr-code-footer {
        font-size: 1rem;
        margin-top: 0.5rem;
    }
    
    .stat-card {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .stat-card small {
        font-size: 0.75rem;
    }
    
    .card-header h5 {
        font-size: 1rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .alert {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container.my-5 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    h2.text-center {
        font-size: 1.25rem;
        margin-bottom: 1rem !important;
    }
    
    .qr-code-frame {
        padding: 0.75rem;
        border-width: 2px;
        border-radius: 10px;
    }
    
    .qr-code-header {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .qr-code-image {
        max-width: 180px;
        padding: 5px;
    }
    
    .qr-code-footer {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
    
    .stat-card {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .stat-card small {
        font-size: 0.7rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-text {
        font-size: 0.85rem;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .alert {
        padding: 0.5rem;
        font-size: 0.85rem;
    }
    
    .row.text-center .col-md-4 {
        margin-bottom: 0.5rem;
    }
}

/* Statistics Cards */
.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid var(--secondary-gray);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.2);
    border-color: var(--primary-red);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-dark);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;
}

/* Rules Section */
.rules-section {
    background-color: #ffffff;
    padding: 4rem 0;
}

.rules-card {
    background: #ffffff;
    border: 2px solid var(--primary-red);
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.rules-title {
    color: var(--primary-red);
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--secondary-gray);
    color: var(--text-dark);
    font-size: 1.1rem;
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-list li::before {
    content: "✓";
    color: var(--primary-red);
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.3rem;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background-color: #ffffff;
}

.map-container {
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--primary-red);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

#map {
    height: 100%;
    width: 100%;
    z-index: 1;
    min-height: 600px;
}

/* Ensure map tiles are visible */
.leaflet-container {
    background-color: #f5f5f5;
}

.leaflet-tile-container img {
    max-width: none !important;
}

/* White fog particles styling - misty effect */
.fog-particle {
    background: transparent !important;
    border: none !important;
    animation: fogFloat 4s ease-in-out infinite;
    pointer-events: none;
}

.fog-particle > div {
    animation: fogPulse 3s ease-in-out infinite;
    will-change: transform, opacity;
}

@keyframes fogFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-3px) translateX(2px);
    }
    50% {
        transform: translateY(-5px) translateX(0px);
    }
    75% {
        transform: translateY(-3px) translateX(-2px);
    }
}

@keyframes fogPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.15);
    }
}

/* Admin Kanban */
.kanban-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.kanban-card {
    background: #ffffff;
    border: 2px solid var(--secondary-gray);
    border-radius: 10px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.kanban-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.3);
    border-color: var(--primary-red);
}

.kanban-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.kanban-card-title {
    font-weight: bold;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.kanban-card-rank {
    background-color: var(--primary-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.kanban-card-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--secondary-gray);
}

.kanban-stat {
    text-align: center;
}

.kanban-stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-red);
}

.kanban-stat-label {
    font-size: 0.8rem;
    color: var(--text-dark);
    text-transform: uppercase;
}

/* Leaderboard */
.leaderboard-table {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.leaderboard-table thead {
    background-color: var(--primary-red);
    color: white;
}

.leaderboard-table tbody tr {
    transition: background-color 0.3s ease;
}

.leaderboard-table tbody tr:hover {
    background-color: var(--primary-gray);
}

.rank-badge {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    font-weight: bold;
    color: white;
}

.rank-1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.rank-2 {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
}

.rank-3 {
    background: linear-gradient(135deg, #CD7F32 0%, #A0522D 100%);
}

.rank-other {
    background-color: var(--primary-red);
}

/* Cards */
.card {
    border: 1px solid var(--secondary-gray);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header {
    background-color: var(--primary-red);
    color: white;
    font-weight: bold;
}

/* Forms */
.form-control {
    border: 1px solid #ced4da;
}

.form-control:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.btn-danger {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.btn-danger:hover {
    background-color: #c82333;
    border-color: #c82333;
}

/* Sponsor Section Background */
.sponsor-section {
    background-color: #6c757d !important; /* Darker gray for better logo visibility */
    margin-bottom: 0 !important;
    padding-bottom: 3rem !important;
}

/* Remove gap between sponsor section and footer */
.sponsor-section + footer {
    margin-top: 0 !important;
    padding-top: 10px !important;
}

footer {
    margin-top: 0 !important;
}

/* Sponsor Placeholders */
.sponsor-placeholder {
    height: 120px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    border-radius: 8px;
}

/* Footer sponsor placeholders - no background */
footer .sponsor-placeholder {
    background-color: transparent !important;
    background: transparent !important;
}

.sponsor-placeholder img {
    max-height: 100px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.sponsor-placeholder a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* Footer */
footer {
    padding-top: 10px !important;
    padding-bottom: 3rem !important;
    background-color: var(--text-dark) !important;
    color: white;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        aspect-ratio: 2084 / 980;
        min-height: 250px;
    }
    
    .hero-title {
        font-size: 3rem;
        letter-spacing: 3px;
    }
    
    .hero-date-venue {
        font-size: 1.2rem;
        padding: 0 2rem;
    }
    
    .hero-date {
        font-size: 1.5rem;
    }
    
    .hero-venue {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero-navbar,
    .main-navbar {
        min-height: 60px;
    }
    
    .hero-navbar .navbar-brand,
    .main-navbar .navbar-brand {
        height: 80px;
    }
    
    .hero-navbar .navbar-brand img,
    .main-navbar .navbar-brand img {
        height: 80px !important;
        max-height: 80px !important;
    }
    
    .hero-section {
        aspect-ratio: 2084 / 980;
        min-height: 200px;
        background-size: contain;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
        margin-bottom: 1.5rem;
    }
    
    .hero-date-venue {
        flex-direction: column;
        gap: 1rem;
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
    
    .hero-date {
        font-size: 1.5rem;
    }
    
    .hero-venue {
        font-size: 1.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 300px;
        font-size: 1.1rem;
        padding: 1rem 2rem;
    }
    
    .kanban-board {
        grid-template-columns: 1fr;
    }
    
    .rules-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-navbar,
    .main-navbar {
        min-height: 55px;
    }
    
    .hero-navbar .navbar-brand,
    .main-navbar .navbar-brand {
        height: 60px;
    }
    
    .hero-navbar .navbar-brand img,
    .main-navbar .navbar-brand img {
        height: 60px !important;
        max-height: 60px !important;
    }
    
    .hero-section {
        aspect-ratio: 2084 / 980;
        min-height: 150px;
        background-size: contain;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .hero-date-venue {
        font-size: 1rem;
    }
    
    .hero-date {
        font-size: 1.2rem;
    }
    
    .hero-venue {
        font-size: 1.1rem;
    }
    
    .btn-hero {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(220, 53, 69, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-red);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
