:root {
    --tech-bg: #f6eded;
    --tech-surface: #ffffff;
    --tech-surface-soft: rgba(255, 255, 255, 0.72);
    --tech-ink: #351719;
    --tech-muted: #7c5758;
    --tech-line: rgba(153, 49, 51, 0.12);
    --tech-primary: #993133;
    --tech-primary-dark: #7f2226;
    --tech-accent: #c6676a;
    --tech-navy: #4d1f21;
    --tech-shadow: 0 24px 80px rgba(95, 27, 29, 0.16);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--tech-ink);
    background:
        radial-gradient(circle at top left, rgba(198, 103, 106, 0.24), transparent 28%),
        radial-gradient(circle at bottom right, rgba(153, 49, 51, 0.18), transparent 22%),
        linear-gradient(135deg, #fbf3f3 0%, #f3e6e6 45%, #f8efef 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

.tech-auth-page {
    min-height: 100vh;
}

.tech-auth-panel {
    position: relative;
    overflow: hidden;
    align-items: center;
    padding: 4rem;
    background:
        linear-gradient(160deg, rgba(77, 31, 33, 0.95), rgba(128, 34, 38, 0.88)),
        url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: #fff;
}

.tech-auth-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(198, 103, 106, 0.16), transparent 45%);
}

.tech-auth-copy {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.tech-auth-copy h1,
.tech-setup-aside h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
    margin: 1rem 0 1.25rem;
}

.tech-auth-copy p,
.tech-setup-aside p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
}

.tech-pill,
.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.tech-pill {
    padding: 0.55rem 0.9rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.tech-badge {
    padding: 0.45rem 0.8rem;
    color: var(--tech-primary);
    background: rgba(153, 49, 51, 0.1);
}

.tech-auth-column {
    padding: 1.75rem;
}

.tech-login-card,
.tech-setup-card {
    width: 100%;
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    box-shadow: var(--tech-shadow);
}

.tech-login-card {
    max-width: 560px;
}

.tech-input-group .input-group-text,
.tech-input-group .form-control,
.tech-setup-card .form-control {
    min-height: 3.3rem;
    border-color: rgba(23, 32, 51, 0.08);
}

.tech-input-group .input-group-text {
    background: #fff;
    color: var(--tech-muted);
}

.tech-input-group .form-control:focus,
.tech-setup-card .form-control:focus {
    border-color: rgba(153, 49, 51, 0.35);
    box-shadow: 0 0 0 0.22rem rgba(153, 49, 51, 0.12);
}

.btn-tech-primary {
    min-height: 3.25rem;
    border: 0;
    border-radius: 1rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--tech-primary), var(--tech-primary-dark));
    box-shadow: 0 16px 30px rgba(153, 49, 51, 0.24);
}

.btn-tech-primary:hover,
.btn-tech-primary:focus {
    color: #fff;
    background: linear-gradient(135deg, #84282b, #67191d);
}

.tech-auth-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.94rem;
    color: var(--tech-muted);
}

.tech-auth-footer a {
    color: var(--tech-primary);
    font-weight: 700;
}

.tech-setup-aside {
    background: linear-gradient(160deg, var(--tech-navy), #7a2c30);
    color: #fff;
}

.tech-checklist {
    display: grid;
    gap: 0.9rem;
}

.tech-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.tech-checklist i {
    color: #87e8b6;
}

.tech-checklist.dark i {
    color: var(--tech-primary);
}

.tech-dashboard-page {
    min-height: 100vh;
    padding: 1.25rem;
}

.tech-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.25rem;
}

.tech-sidebar,
.tech-main-content {
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: var(--tech-shadow);
}

.tech-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(77, 31, 33, 0.98), rgba(121, 44, 48, 0.94));
    color: #fff;
}

.tech-sidebar h1 {
    margin: 1rem 0 0.5rem;
    font-size: 2.2rem;
    font-weight: 800;
}

.tech-sidebar p {
    color: rgba(255, 255, 255, 0.7);
}

.tech-nav {
    display: grid;
    gap: 0.7rem;
}

.tech-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    color: rgba(255, 255, 255, 0.82);
    transition: 0.2s ease;
}

.tech-nav a:hover,
.tech-nav a.active {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.tech-main-content {
    padding: 1.75rem;
}

.tech-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tech-stat-card,
.tech-panel-card,
.tech-mini-card {
    border-radius: 1.4rem;
}

.tech-stat-card {
    height: 100%;
    padding: 1.35rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--tech-line);
    box-shadow: 0 14px 34px rgba(95, 27, 29, 0.08);
}

.tech-stat-card strong,
.tech-mini-card strong {
    display: block;
    margin-bottom: 0.4rem;
}

.tech-stat-card h3 {
    margin: 0.3rem 0 0.4rem;
    font-size: 1.5rem;
}

.tech-stat-card p,
.tech-mini-card p {
    margin: 0;
    color: var(--tech-muted);
}

.tech-stat-icon,
.tech-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: rgba(153, 49, 51, 0.1);
    color: var(--tech-primary);
}

.tech-panel-icon {
    font-size: 1.1rem;
}

.tech-mini-card {
    padding: 1rem 1.05rem;
    background: #fbf5f5;
    border: 1px solid rgba(153, 49, 51, 0.08);
}

@media (max-width: 991.98px) {
    .tech-shell {
        grid-template-columns: 1fr;
    }

    .tech-sidebar {
        padding: 1.5rem;
    }

    .tech-topbar,
    .tech-auth-footer {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 767.98px) {
    .tech-dashboard-page,
    .tech-auth-column,
    .tech-auth-panel {
        padding: 1rem;
    }

    .tech-main-content,
    .tech-sidebar,
    .tech-login-card,
    .tech-setup-card {
        border-radius: 1.25rem;
    }
}
