html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #f8f9fb;
}

:root {
    --primary: #3366CC;
    --secondary: #F28A30;
    --bg-light: #F7F7F9;
    --bg-dark: #1E2A3A;
    --success: #7BC47F;
    --warning: #FAD764;
    --danger: #D9534F;
    --panel: #ffffff;
    --primary-light: #adc1ea;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.tt-navbar {
    background: var(--panel);
    position: sticky;
    top: 0;
    z-index: 10;
}

.tt-navbar-logo {
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #fff;
    border-radius: 50%;
    padding: 1px;
    object-fit: contain;
}


.tt-hero {
    background: radial-gradient(circle at 15% 20%, rgba(242,138,48,0.08), transparent 30%), linear-gradient(135deg, rgba(30,42,58,0.9), rgba(51,102,204,0.8)), url("/img/mapbg.png") center/cover no-repeat;
    color: #fff;
    border-radius: 0;
}

.tt-hero .btn {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.tt-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    color: #fff;
}

.tt-feature-section {
    background: linear-gradient(135deg, #f8f9fb 0%, #eef3ff 100%);
    border-radius: 0;
    padding: 4rem 0;
}

.tt-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .65rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #344767;
    font-weight: 600;
}

.tt-feature-row {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 14px 40px rgba(0,0,0,0.06);
    background: linear-gradient(120deg, rgba(242, 138, 48, 0.12) 0%, #fff 65%);
    overflow: hidden;
    margin: 0 auto;
    min-height: 520px;
}

.tt-feature-row > [class*="col-"] {
    display: flex;
}

.tt-feature-row > [class*="col-"] > * {
    width: 100%;
}

.tt-feature-panel {
    background: #fff;
    border-radius: 16px;
}

.tt-feature-text {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.tt-feature-block {
    height: 100%;
}

.tt-feature-row-alt-1 {
    background: linear-gradient(120deg, #f2f6ff 0%, #ffffff 70%);
}

.tt-feature-row-alt-2 {
    background: linear-gradient(120deg, #fff5e9 0%, #ffffff 70%);
}

.tt-feature-row-alt-3 {
    background: linear-gradient(120deg, #eef8f2 0%, #ffffff 70%);
}

.tt-feature-row-alt-4 {
    background: linear-gradient(120deg, #f9f1ff 0%, #ffffff 70%);
}

.tt-feature-row-alt-5 {
    background: linear-gradient(120deg, #f0f4f7 0%, #ffffff 70%);
}

.tt-feature-screen {
    background: #0f1924;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.tt-feature-screen img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    display: block;
}

.tt-feature-visual {
    position: relative;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(140deg, #101828, #1f2a44);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    display: flex;
    align-items: stretch;
}

.tt-feature-visual__bg {
    position: absolute;
    inset: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.55;
    filter: blur(1px);
    transform: scale(1.05);
}

.tt-feature-visual__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tt-feature-visual__content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: .5rem;
    min-height: 100%;
    width: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 100%);
}

.tt-feature-visual-map {
    background: linear-gradient(135deg, #fefefe, #f2f6ff);
    border: 1px solid rgba(0,0,0,0.04);
}

.tt-feature-mini {
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 12px 32px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.tt-feature-mini-map {
    position: relative;
    height: 120px;
    background: linear-gradient(135deg, #dfe8ff, #f7f9ff);
    border-radius: 12px;
    overflow: hidden;
    border: 1px dashed rgba(51,102,204,0.35);
}

.tt-feature-mini-line {
    position: absolute;
    top: 50%;
    left: 8%;
    right: 8%;
    height: 4px;
    background: linear-gradient(90deg, #3366cc, #f28a30);
    border-radius: 999px;
}

.tt-feature-mini-dot {
    position: absolute;
    top: 50%;
    left: 24%;
    width: 14px;
    height: 14px;
    background: #3366cc;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 6px rgba(51,102,204,0.25);
}

.tt-feature-visual-light {
    background: linear-gradient(135deg, #f8fbff, #eef2ff);
    border: 1px solid rgba(0,0,0,0.04);
}

.tt-feature-mini-inline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.1rem;
    background: #fff;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.tt-footer {
    background: linear-gradient(135deg, #1e2a3a, #101520);
    color: #fff;
}

.tt-cta {
    background: #eef5ff;
    border-radius: 12px;
}

.tt-section {
    padding: 3rem 0;
}

.tt-card {
    background: linear-gradient(135deg, #aadaff, #e6f2ff);
    border-radius: 12px;
}

.tt-card-light {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.tt-auth {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.tt-auth-visual {
    min-height: 360px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tt-auth-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,42,58,0.05), rgba(51,102,204,0.02));
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
}

.tt-auth-panel {
    padding: 2rem;
    max-width:60%;
}

.tt-auth-row {
    min-height: calc(100vh - 57px);
}

.tt-mock {
    background: var(--bg-dark);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.tt-mock .ratio {
    background: #000;
    border: 1px solid rgba(255,255,255,0.06);
}

.tt-carousel-img {
    height: 520px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .tt-carousel-img {
        height: 300px;
    }

    .tt-feature-row {
        min-height: 360px;
    }
}

.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(--primary, #3366CC);
            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;
    color: var(--bg-dark, #1E2A3A);
}

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

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    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;
    }

