 @import url('./layout.css'); 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0f172a;
    color: #ffffff;
}

.welcome {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.welcome-card {
    width: 100%;
    max-width: 700px;
    background: #1e293b;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.welcome-badge {
    display: inline-block;
    padding: 8px 18px;
    background: #2563eb;
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 20px;
}

h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

p {
    font-size: 18px;
    color: #cbd5e1;
    line-height: 1.6;
}
.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background:
        radial-gradient(circle at top, rgba(37, 99, 235, 0.18), transparent 35%),
        #0f172a;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    padding: 36px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.auth-header {
    margin-bottom: 26px;
    text-align: center;
}

.auth-header h1 {
    margin-bottom: 10px;
    font-size: 34px;
}

.auth-header p {
    font-size: 16px;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #e2e8f0;
}

.form-group input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: #ffffff;
    background: #0f172a;
    border: 1px solid #334155;
    border-radius: 10px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.16);
}

.auth-button {
    min-height: 50px;
    margin-top: 4px;
    padding: 12px 18px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    background: #2563eb;
    border: 0;
    border-radius: 10px;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.auth-button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.alert {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 10px;
}

.alert p {
    margin: 0;
    font-size: 14px;
}

.alert p + p {
    margin-top: 6px;
}

.alert-error {
    color: #fecaca;
    background: rgba(127, 29, 29, 0.45);
    border: 1px solid rgba(248, 113, 113, 0.45);
}

.auth-footer,
.auth-back {
    margin-top: 22px;
    text-align: center;
    font-size: 15px;
}

.auth-back {
    margin-top: 12px;
}

.auth-footer a,
.auth-back a {
    color: #60a5fa;
    font-weight: 700;
    text-decoration: none;
}

.auth-footer a:hover,
.auth-back a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .auth-card {
        padding: 26px 20px;
    }

    .auth-header h1 {
        font-size: 29px;
    }
}
/* ==========================
   DASHBOARD
========================== */

.dashboard-page {
    min-height: 100vh;
    padding: 40px 20px;
    background: #0b0f14;
}

.dashboard-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.dashboard-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dashboard-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f4b400;
    background: #1b2430;
}

.dashboard-profile-text h1 {
    margin: 8px 0;
    color: #ffffff;
    font-size: clamp(26px, 3vw, 36px);
}

.dashboard-profile-text p {
    color: #b7c0ca;
}

.dashboard-logout {
    background: #f4b400;
    color: #111;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    transition: .25s;
}

.dashboard-logout:hover {
    transform: translateY(-2px);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.dashboard-card {
    background: #131b24;
    border-radius: 18px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.06);
}

.dashboard-card h2 {
    color: white;
    margin-bottom: 18px;
}

.dashboard-card-description {
    color: #9ea9b5;
    margin-bottom: 20px;
}

.dashboard-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dashboard-info-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.dashboard-info-item span {
    color: #9ea9b5;
}

.dashboard-info-item strong {
    color: white;
    text-align: right;
}

.dashboard-actions {
    display: grid;
    gap: 14px;
}

.dashboard-action {
    display: block;
    padding: 15px 18px;
    background: #1b2430;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: .25s;
}

.dashboard-action:hover {
    background: #243243;
    transform: translateX(4px);
}

/* Responsive */

@media (max-width:768px){

    .dashboard-header{
        flex-direction:column;
        align-items:flex-start;
    }

    .dashboard-profile{
        flex-direction:column;
        align-items:flex-start;
    }

    .dashboard-info-item{
        flex-direction:column;
    }

    .dashboard-info-item strong{
        text-align:left;
    }
}
