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

:root {
    --primary-orange: #FF6B35;
    --secondary-orange: #FFB830;
    --dark-gray: #2D3142;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-gray: #6c757d;
    --border-color: #e9ecef;
    --error-red: #dc3545;
    --success-green: #28a745;
}

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

.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background: var(--white);
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.logo-icon {
    width: 48px;
    height: 48px;
}

.logo h1 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark-gray);
}

.auth-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 8px;
}

.subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 32px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group small {
    display: block;
    color: var(--text-gray);
    font-size: 14px;
    margin-top: 6px;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 8px;
}

.btn-primary:hover:not(:disabled) {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
}

.error-msg, .success-msg {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.error-msg {
    background: #ffebee;
    color: var(--error-red);
    border: 1px solid #ffcdd2;
}

.success-msg {
    background: #e8f5e9;
    color: var(--success-green);
    border: 1px solid #c8e6c9;
}

.auth-footer {
    margin-top: 32px;
    text-align: center;
}

.auth-footer p {
    color: var(--text-gray);
    margin-bottom: 8px;
}

.auth-footer a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
}

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

@media (max-width: 640px) {
    .auth-card {
        padding: 32px 24px;
    }

    .logo h1 {
        font-size: 28px;
    }

    .auth-card h2 {
        font-size: 24px;
    }
}
