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

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #FD6D32 0%, #e85a1e 50%, #d14a10 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 28px;
}

.auth-logo svg {
    flex-shrink: 0;
}

.auth-brand {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.auth-card {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.auth-subtitle {
    color: #6b7280;
    font-size: 14px;
    text-align: center;
    padding: 28px 32px 0;
}

/* Form */
.auth-card form {
    padding: 24px 32px 8px;
}

.auth-form-group {
    margin-bottom: 20px;
}

.auth-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #111B31;
    margin-bottom: 6px;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-wrap i {
    position: absolute;
    left: 14px;
    color: #9ca3af;
    font-size: 14px;
    pointer-events: none;
    transition: color 0.2s;
}

.auth-input {
    width: 100%;
    height: 46px;
    padding: 0 16px 0 42px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    color: #111B31;
    background: #f9fafb;
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.auth-input::placeholder {
    color: #9ca3af;
}

.auth-input:focus {
    border-color: #FD6D32;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(253, 109, 50, 0.12);
}

.auth-input-wrap:focus-within i {
    color: #FD6D32;
}

.auth-error {
    display: block;
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    padding-left: 2px;
}

/* Remember me */
.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b7280;
    cursor: pointer;
    user-select: none;
    margin: 0;
}

.auth-remember input {
    display: none;
}

.auth-checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid #d1d5db;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.auth-checkmark::after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 2px;
    background: #FD6D32;
    opacity: 0;
    transform: scale(0);
    transition: all 0.15s;
}

.auth-remember input:checked ~ .auth-checkmark {
    border-color: #FD6D32;
}

.auth-remember input:checked ~ .auth-checkmark::after {
    opacity: 1;
    transform: scale(1);
}

/* Button */
.auth-btn {
    width: 100%;
    height: 48px;
    background: #FD6D32;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    letter-spacing: 0.3px;
}

.auth-btn:hover {
    background: #e85a1e;
    box-shadow: 0 4px 14px rgba(253, 109, 50, 0.35);
}

.auth-btn:active {
    transform: scale(0.98);
}

/* Footer */
.auth-footer {
    text-align: center;
    padding: 20px 32px 28px;
}

.auth-footer p {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-wrapper {
        padding: 20px 16px;
    }
    .auth-card form,
    .auth-header {
        padding-left: 24px;
        padding-right: 24px;
    }
    .auth-brand {
        font-size: 24px;
    }
}
