﻿* {
    align-items: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- HEADER --- */
.app-bar {
    width: 100%;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    padding: 25px 20px 60px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.app-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    padding: 5px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    margin-right: 12px;
    backdrop-filter: blur(5px);
}

.app-title h1 {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
}

.app-title span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    font-weight: 600;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1.5px solid rgba(255,255,255,0.35);
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.back-btn:hover {
    background: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.6);
}

/* --- MAIN --- */
.main-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0 15px 40px;
    margin-top: -30px;
}

/* --- FORM CARD --- */
.form-container {
    background: #ffffff;
    padding: 28px 24px;
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: 0.3s;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px;
    background: #eff6ff;
    padding: 6px;
    flex-shrink: 0;
}

.form-container h2 {
    font-size: 1rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 2px;
    text-align: left;
}

.form-container h2 + span {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 600;
}

/* --- FIELDS --- */
label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 7px;
    margin-top: 16px;
}

input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
    border-color: #007dfe;
    box-shadow: 0 0 0 3px rgba(0, 125, 254, 0.1);
    background: white;
}

input::placeholder {
    color: #cbd5e1;
    font-weight: 500;
}

/* --- BUTTON --- */
button {
    width: 100%;
    padding: 16px;
    margin-top: 24px;
    border: none;
    background: #007dfe;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 125, 254, 0.3);
    transition: opacity 0.2s, transform 0.1s;
}

button:hover {
    opacity: 0.92;
    transform: scale(1.01);
}

button:active {
    transform: scale(0.98);
}

/* --- SUCCESS --- */
.success-message {
    text-align: center;
    color: #22c55e;
    margin-top: 15px;
    font-weight: 700;
    font-size: 0.9rem;
}