/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, sans-serif;
}

body {
    min-height: 100vh;
    background: #f4f6f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
}

/* Wrapper */
.auth-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

/* Card */
.auth-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 36px 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.logo-circle {
    width: 64px;
    height: 64px;
    background: #111827;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 26px;
}

.auth-header h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.auth-header p {
    font-size: 14px;
    color: #6b7280;
}

/* Alerts */
.alert {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* Form */
.auth-form {
    margin-top: 10px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #9ca3af;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    transition: border 0.2s, box-shadow 0.2s;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.12);
}

/* Button */
.btn-primary {
    width: 100%;
    margin-top: 6px;
    padding: 12px;
    background: #111827;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
    background: #000000;
}

.btn-primary:active {
    transform: translateY(1px);
}

/* Footer */
.auth-footer {
    margin-top: 26px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
}

.auth-footer span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
