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

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

.auth-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.auth-header {
    background: linear-gradient(135deg, #FF4800 0%, #CC3A00 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

.auth-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 600;
}

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

.auth-alert {
    margin: 20px 30px 0 30px;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
}

.auth-alert-error {
    background: #FFE5E0;
    border-left: 4px solid #FF4800;
}

.auth-alert-success {
    background: #E8F5E9;
    border-left: 4px solid #2E7D32;
}

.auth-alert-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 15px;
}

.auth-alert-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.auth-alert-error .auth-alert-message {
    color: #FF4800;
}

.auth-alert-success .auth-alert-message {
    color: #2E7D32;
}

.auth-alert-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.auth-alert-error .auth-alert-close {
    color: #FF4800;
    opacity: 0.7;
}

.auth-alert-success .auth-alert-close {
    color: #2E7D32;
    opacity: 0.7;
}

.auth-alert-close:hover {
    opacity: 1;
}

.auth-form {
    padding: 30px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #35322F;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E8E8E8;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    background: white;
    color: #35322F;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #FF4800;
    box-shadow: 0 0 0 3px rgba(255, 72, 0, 0.1);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group.half {
    flex: 1;
}

.btn-block {
    width: 100%;
}

.auth-footer {
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #E8E8E8;
}

.auth-footer a {
    color: #FF4800;
    text-decoration: none;
    font-weight: 600;
}

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

@media (max-width: 480px) {
    .auth-container {
        padding: 10px;
    }
    
    .auth-header {
        padding: 30px 20px;
    }
    
    .auth-alert {
        margin: 15px 20px 0 20px;
    }
    
    .auth-form {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}