/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Color Palette Variables */
:root {
    --winter-cream: #FFDAB3;
    --winter-blush: #C8AAAA;
    --winter-mauve: #9F8383;
    --winter-plum: #574964;
    --winter-white: #ffffff;
    --winter-ice: #f0f8ff;
    --winter-shadow: rgba(87, 73, 100, 0.2);
    --winter-glow: rgba(255, 218, 179, 0.3);
    
    /* Spring colors for About section */
    --spring-light-green: #E8F5E9;
    --spring-meadow: #A5D6A7;
    --spring-grass: #66BB6A;
    --spring-forest: #43A047;
    --spring-deep: #2E7D32;
    
    /* Summer colors for Skills/Portfolio sections */
    --summer-sky: #81D4FA;
    --summer-blue: #4FC3F7;
    --summer-sand: #FFE0B2;
    --summer-tan: #FFCC80;
    --summer-warm: #FFB74D;
    --summer-gold: #FFA726;
    
    /* Override Bootstrap variables */
    --bs-primary: var(--winter-blush);
    --bs-secondary: var(--winter-mauve);
    --bs-success: #198754;
    --bs-info: #0dcaf0;
}

/* Body and Base Layout */
body {
    background: linear-gradient(135deg, var(--winter-ice) 0%, var(--winter-cream) 100%);
    color: var(--winter-plum);
    overflow-x: hidden;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Remove default padding from content */
.content {
    padding: 0 !important;
    flex: 1;
}

/* Enhanced Snowflake Animation System */
.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -50px;
    opacity: 0.5;  /* Increased from 0.4 by 25% */
    animation: enhancedSnowfall linear infinite;
    user-select: none;
    pointer-events: none;
    transform-origin: center;
    filter: drop-shadow(0 0 3px rgba(200, 170, 170, 0.3));
}

/* Rain drop styles */
.raindrop {
    position: absolute;
    top: -50px;
    width: 3px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    opacity: 0.5;  /* Increased from 0.4 by 25% */
    animation: rainfall linear infinite;
    user-select: none;
    pointer-events: none;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
}

/* Wind particle styles */
.wind-particle {
    position: absolute;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.4), transparent);
    opacity: 0.625;  /* Increased from 0.5 by 25% */
    animation: windDrift linear infinite;
    user-select: none;
    pointer-events: none;
}

@keyframes enhancedSnowfall {
    0% {
        transform: translateY(-50px) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.625;  /* Increased from 0.5 by 25% */
    }

    60% {
        opacity: 0.625;  /* Increased from 0.5 by 25% */
    }

    75% {
        opacity: 0;
    }

    100% {
        transform: translateY(100vh) translateX(var(--drift, 0px)) rotate(var(--rotation, 360deg));
        opacity: 0;
    }
}

@keyframes rainfall {
    0% {
        transform: translateY(-50px) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;  /* Increased from 0.4 by 25% */
    }
    90% {
        opacity: 0.5;  /* Increased from 0.4 by 25% */
    }
    100% {
        transform: translateY(100vh) translateX(var(--wind-drift, 20px));
        opacity: 0;
    }
}

@keyframes windDrift {
    0% {
        transform: translateX(-100px) translateY(var(--wind-y, 0));
        opacity: 0;
    }
    10% {
        opacity: 0.625;  /* Increased from 0.5 by 25% */
    }
    90% {
        opacity: 0.625;  /* Increased from 0.5 by 25% */
    }
    100% {
        transform: translateX(100vw) translateY(var(--wind-y, 0));
        opacity: 0;
    }
}

/* Body and Base Layout */
body {
    background: linear-gradient(135deg, var(--winter-ice) 0%, var(--winter-cream) 100%);
    color: var(--winter-plum);
    overflow-x: hidden;
}

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Remove default padding from content */
.content {
    padding: 0 !important;
    flex: 1;
}

/* Navigation */
.winter-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--winter-blush);
    z-index: 9999;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--winter-plum) !important;
    transition: color 0.3s ease;
}

    .navbar-brand:hover {
        color: var(--winter-mauve) !important;
    }

.nav-link {
    color: var(--winter-plum) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
}

    .nav-link:hover {
        color: var(--winter-mauve) !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        background-color: var(--winter-blush);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 80%;
    }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    position: relative;
    background: linear-gradient(180deg, 
        var(--winter-ice) 0%, 
        var(--winter-cream) 60%, 
        rgba(255, 255, 255, 0.9) 100%);
    overflow: hidden;
}

/* Mountain Silhouette - layered behind everything */
.hero-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400'%3E%3Cpath fill='%23574964' d='M0,400 L0,250 Q100,200 150,180 Q200,160 250,140 Q300,120 350,100 Q400,80 450,90 Q500,100 550,120 Q600,140 650,160 Q700,180 750,200 Q800,220 850,210 Q900,200 950,180 Q1000,160 1050,170 Q1100,180 1150,200 L1200,220 L1200,400 Z'/%3E%3Cpath fill='%23574964' opacity='0.6' d='M0,400 L0,300 Q150,260 250,240 Q350,220 450,200 Q550,180 650,190 Q750,200 850,220 Q950,240 1050,250 L1200,270 L1200,400 Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    opacity: 0.04;
    z-index: 1;
    pointer-events: none;
}

/* Hero Background Effects */
.hero-background-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 2;
}

/* Winter Tree Silhouettes */
.hero-background-effects::before,
.hero-background-effects::after {
    content: '';
    position: absolute;
    bottom: 0;
    background-repeat: no-repeat;
    background-position: bottom;
    opacity: 0.1;
    pointer-events: none;
    z-index: 3;
}

/* Left tree - classic evergreen with full branches */
.hero-background-effects::before {
    left: 5%;
    width: 350px;
    height: 550px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 500'%3E%3Cpath fill='%23574964' d='M150,10 L170,60 L130,60 Z M150,50 L180,110 L120,110 Z M150,90 L190,160 L110,160 Z M150,140 L200,220 L100,220 Z M150,200 L210,290 L90,290 Z M150,270 L220,370 L80,370 Z M150,350 L230,460 L70,460 Z M140,460 L140,500 L160,500 L160,460 Z'/%3E%3C/svg%3E");
    background-size: contain;
}

/* Right tree - fuller evergreen */
.hero-background-effects::after {
    right: 8%;
    width: 320px;
    height: 520px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 500'%3E%3Cpath fill='%23574964' d='M150,5 L175,55 L125,55 Z M150,40 L185,100 L115,100 Z M150,80 L195,150 L105,150 Z M150,130 L205,210 L95,210 Z M150,190 L215,280 L85,280 Z M150,260 L225,360 L75,360 Z M150,340 L235,450 L65,450 Z M140,450 L140,500 L160,500 L160,460 Z'/%3E%3C/svg%3E");
    background-size: contain;
}

/* Add a third tree in the middle background using a pseudo-element wrapper */
.tech-particles::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    transform: translateX(-50%);
    width: 280px;
    height: 480px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 500'%3E%3Cpath fill='%23574964' d='M150,15 L168,50 L132,50 Z M150,40 L178,90 L122,90 Z M150,75 L188,135 L112,135 Z M150,120 L198,190 L102,190 Z M150,175 L208,260 L92,260 Z M150,245 L218,340 L82,340 Z M150,325 L228,430 L72,430 Z M145,430 L145,500 L155,500 L155,465 Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
    opacity: 0.08;
    z-index: 3;
}

/* Tech Particles */
.tech-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tech-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, var(--winter-blush), transparent);
    border-radius: 50%;
    left: calc(5% + var(--particle-delay) * 4);
    animation: floatParticle 15s linear infinite;
    animation-delay: var(--particle-delay);
    opacity: 0.3;
}

.tech-particle::before {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--winter-mauve);
    border-radius: 50%;
    top: -1px;
    left: -1px;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    50% {
        transform: translateY(50vh) translateX(50px) scale(1);
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-10vh) translateX(-30px) scale(0);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 1.5rem;
    color: var(--winter-plum);
    text-shadow: 2px 2px 4px var(--winter-shadow);
    font-weight: 700;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin-bottom: 2rem;
    color: var(--winter-mauve);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2.5rem;
    color: var(--winter-plum);
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.6s both;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, var(--winter-blush), var(--winter-mauve));
    color: var(--winter-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.9s both;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px var(--winter-shadow);
        color: var(--winter-white);
        background: linear-gradient(45deg, var(--winter-mauve), var(--winter-plum));
    }

/* Section Styling */
.section {
    padding: 5rem 0;
    position: relative;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease;
}

    /* Optional: Add animation class for future use */
    .section.animate-in {
        opacity: 0;
        transform: translateY(30px);
    }

        .section.animate-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--winter-plum);
    position: relative;
    font-weight: 700;
}

    .section-title::after {
        content: '';
        display: block;
        width: 120px;
        height: 2px;
        background: linear-gradient(45deg, var(--winter-blush), var(--winter-mauve));
        margin: 1rem auto 0;
        border-radius: 1px;
    }

/* About Section - smooth transition from hero to spring colors */
#about {
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.6) 0%, 
        rgba(240, 248, 255, 0.7) 15%,
        rgba(232, 245, 233, 0.8) 35%,
        var(--spring-light-green) 50%,
        rgba(200, 230, 201, 0.9) 75%,
        rgba(165, 214, 167, 0.85) 100%);
}

#about .section-title {
    color: #000000;
}

#about .section-title::after {
    background: linear-gradient(90deg, var(--spring-grass), var(--spring-forest));
}

#about .about-content h3 {
    color: #000000;
}

#about .about-content p {
    color: #000000;
}

/* Skills Section Background - summer sky/blue colors */
#skills {
    background: linear-gradient(180deg, 
        rgba(165, 214, 167, 0.85) 0%, 
        rgba(144, 202, 249, 0.7) 20%,
        rgba(129, 212, 250, 0.8) 40%,
        var(--summer-sky) 60%,
        var(--summer-blue) 85%,
        rgba(79, 195, 247, 0.9) 100%);
}

#skills .section-title {
    color: var(--winter-plum);
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

#skills .section-title::after {
    background: linear-gradient(90deg, var(--summer-blue), var(--summer-sky));
}

/* Portfolio Section - warm summer sand/tan colors */
#portfolio {
    background: linear-gradient(180deg, 
        rgba(79, 195, 247, 0.9) 0%, 
        rgba(100, 181, 246, 0.8) 15%,
        rgba(255, 224, 178, 0.7) 35%,
        var(--summer-sand) 55%,
        var(--summer-tan) 75%,
        rgba(255, 204, 128, 0.9) 100%);
    padding: 6rem 0;
}

#portfolio .section-title {
    color: var(--winter-plum);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

#portfolio .section-title::after {
    background: linear-gradient(90deg, var(--summer-warm), var(--summer-gold));
}

/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, 
        rgba(255, 204, 128, 0.9) 0%, 
        rgba(255, 218, 179, 0.7) 20%,
        rgba(200, 170, 170, 0.6) 45%,
        rgba(200, 170, 170, 0.75) 70%,
        var(--winter-blush) 100%);
    border-radius: 0;
}

    .contact-section .section-title::after {
        background: linear-gradient(45deg, var(--winter-white), var(--winter-plum));
    }

/* Buttons */
.btn {
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(45deg, var(--winter-blush), var(--winter-mauve));
    color: var(--winter-white);
}

    .btn-primary:hover {
        background: linear-gradient(45deg, var(--winter-mauve), var(--winter-plum));
        transform: translateY(-2px);
        box-shadow: 0 4px 15px var(--winter-shadow);
    }

.btn-outline-primary {
    color: var(--winter-blush);
    border: 2px solid var(--winter-blush);
    background: transparent;
}

    .btn-outline-primary:hover {
        background: var(--winter-blush);
        color: var(--winter-white);
        border-color: var(--winter-blush);
    }

.btn-outline-secondary {
    color: var(--winter-mauve);
    border: 2px solid var(--winter-mauve);
    background: transparent;
}

    .btn-outline-secondary:hover {
        background: var(--winter-mauve);
        color: var(--winter-white);
        border-color: var(--winter-mauve);
    }

.btn-light {
    background: var(--winter-white);
    color: var(--winter-plum);
    border: 2px solid transparent;
}

    .btn-light:hover {
        background: var(--winter-plum);
        color: var(--winter-white);
        transform: translateY(-3px);
        box-shadow: 0 6px 20px var(--winter-shadow);
    }

/* Badges */
.badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    margin: 0.2rem;
    border-radius: 15px;
}

.bg-primary {
    background-color: var(--winter-blush) !important;
}

.bg-secondary {
    background-color: var(--winter-mauve) !important;
}

/* Carousel */
.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    color: var(--winter-plum);
    opacity: 0.8;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(30%) sepia(10%) saturate(300%) hue-rotate(270deg) brightness(90%) contrast(90%);
    width: 3rem;
    height: 3rem;
    background-size: 100%;
}

.carousel-inner {
    padding: 1rem 0;
}

#portfolioCarousel {
    padding: 0 1rem;
}

/* Footer */
.winter-footer {
    background: var(--winter-plum);
    color: var(--winter-cream);
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.profile-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--winter-blush), var(--winter-mauve));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--winter-white);
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px var(--winter-shadow);
    transition: transform 0.3s ease;
    overflow: hidden;
    position: relative;
}

.profile-placeholder:hover {
    transform: scale(1.05);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.about-content h3 {
    color: var(--winter-plum);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-content p {
    color: var(--winter-plum);
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Project Cards */
.project-card {
    background: var(--winter-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--winter-shadow);
    transition: all 0.3s ease;
    max-width: 900px;
    margin: 0 auto;
}

    .project-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px var(--winter-shadow);
    }

.project-image {
    height: 450px;
    background: linear-gradient(45deg, var(--winter-cream), var(--winter-blush));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--winter-plum);
    font-size: 1.1rem;
    font-weight: 500;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.project-content {
    padding: 2rem;
}

    .project-content h4 {
        color: var(--winter-plum);
        margin-bottom: 1rem;
        font-weight: 600;
    }

    .project-content p {
        color: var(--winter-mauve);
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

.project-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }

    .hero-content {
        padding: 1rem;
    }

    /* Reduce tech particles */
    .tech-particle:nth-child(n+10) {
        display: none;
    }

    /* Adjust mountain on tablets */
    .hero-section::before {
        height: 35%;
        opacity: 0.03;
    }

    /* Adjust tree sizes on tablets */
    .hero-background-effects::before {
        width: 200px;
        height: 350px;
        left: 2%;
    }

    .hero-background-effects::after {
        width: 180px;
        height: 330px;
        right: 2%;
    }

    .tech-particles::before {
        width: 170px;
        height: 320px;
    }

    .profile-placeholder {
        width: 180px;
        height: 180px;
        margin-bottom: 2rem;
    }

    .project-links {
        justify-content: center;
    }

    .project-image {
        height: 350px;
    }

    /* Reduce icicle size on mobile */
    .icicle {
        transform: scale(0.7);
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 0.5rem;
    }

    .section {
        padding: 2rem 0;
    }

    /* Further hide particles on small screens */
    .tech-particle {
        display: none;
    }

    /* Make mountain more subtle on small screens */
    .hero-section::before {
        height: 30%;
        opacity: 0.02;
    }

    /* Make trees more subtle on small screens */
    .hero-background-effects::before {
        width: 150px;
        height: 280px;
        opacity: 0.05;
    }

    .hero-background-effects::after {
        width: 140px;
        height: 260px;
        opacity: 0.05;
    }

    .tech-particles::before {
        width: 130px;
        height: 240px;
        opacity: 0.04;
    }

    .profile-placeholder {
        width: 150px;
        height: 150px;
    }

    .project-image {
        height: 250px;
    }

    .btn-light {
        margin: 0.5rem 0 !important;
        width: 80%;
    }

    /* Further reduce effects on small screens */
    .snowflake {
        font-size: 12px !important;
    }

    .icicle {
        transform: scale(0.5);
    }
}

/* Scroll offset for fixed navigation */
#home, #about, #skills, #portfolio, #contact {
    scroll-margin-top: 80px;
}

/* Loading Progress Styles */
.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: var(--winter-blush);
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

/* Error UI */
#blazor-error-ui {
    background: var(--winter-plum);
    color: var(--winter-cream);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* Code styling */
code {
    color: var(--winter-mauve);
    background: var(--winter-ice);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

/* Focus styles */
.btn:focus,
.btn:active:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(200, 170, 170, 0.5);
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

/* Override any conflicting styles */
a {
    color: var(--winter-blush);
    text-decoration: none;
    transition: color 0.3s ease;
}

    a:hover {
        color: var(--winter-mauve);
    }
