* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "DM Sans", "Segoe UI", sans-serif;
    background: #F4F7FA;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
    overflow-x: hidden;
}

.gradient-blur {
    position: absolute;
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    height: 600px;
    background: radial-gradient(circle,
        rgba(0, 0, 0, 0.10) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.gradient-blur::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.12), transparent);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.header {
    margin-bottom: 60px;
}

.header h1 {
    font-family: "Outfit", sans-serif;
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    color: #111111;
    display: flex;
    align-items: center;
    gap: 14px;
}

.title-icon {
    height: 0.85em;
    width: auto;
    opacity: 0.30;
    flex-shrink: 0;
}

.header p {
    font-family: "DM Sans", sans-serif;
    font-size: 1.05rem;
    color: #6B7280;
    font-weight: 300;
    letter-spacing: 0.02em;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-left: auto;
    max-width: 800px;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 25px 40px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 80px;
}

.card:hover {
    background: rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-family: "Outfit", sans-serif;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.card-subtitle {
    font-family: "DM Sans", sans-serif;
    color: #555555;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Login */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    background: #fff;
    border-radius: 16px;
    padding: 48px 40px;
    width: 100%;
    max-width: 380px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.login-box h2 {
    font-family: "Outfit", sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #111111;
    margin-bottom: 6px;
}

.login-box p {
    font-size: 0.88rem;
    color: #6B7280;
    margin-bottom: 28px;
}

.login-error {
    background: #fff3f3;
    border: 1px solid #f5c6cb;
    color: #c0392b;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.field input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: "DM Sans", sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.field input:focus {
    border-color: #111111;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.login-box button[type="submit"] {
    width: 100%;
    padding: 11px;
    background: #111111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: "Outfit", sans-serif;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}

.login-box button[type="submit"]:hover {
    background: #333333;
}

/* Logout button */
.btn-logout {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #6B7280;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.82rem;
    cursor: pointer;
    font-family: "DM Sans", sans-serif;
    transition: all 0.2s;
}

.btn-logout:hover {
    border-color: #111111;
    color: #111111;
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2.5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        margin-left: 0;
    }

    .gradient-blur {
        width: 300px;
        height: 400px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
    }

    .card {
        padding: 20px 30px;
    }
}
