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

.auth-body {
    font-family: Inter, system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
    min-height: 100vh;
    color: #2D3748;
    line-height: 1.6;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

/* Header */
.auth-header {
    margin-bottom: 48px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: #F7FAFC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 24px;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #2D3748;
}

/* Main Content */
.auth-main {
    width: 100%;
    max-width: 400px;
}

.auth-card {
    background: white;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #E2E8F0;
}

/* Messages */
.messages {
    margin-bottom: 24px;
}

.message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
}

.message-error {
    background: #FED7D7;
    color: #C53030;
    border: 1px solid #FC8181;
}

.message-success {
    background: #C6F6D5;
    color: #2F855A;
    border: 1px solid #68D391;
}

.message-info {
    background: #BEE3F8;
    color: #2B6CB0;
    border: 1px solid #90CDF4;
}

/* Typography */
h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 8px;
    text-align: center;
}

p {
    color: #718096;
    margin-bottom: 24px;
    text-align: center;
}

p a {
    color: #FF8C42;
    text-decoration: none;
    font-weight: 600;
}

p a:hover {
    color: #E6742A;
    text-decoration: underline;
}

/* Forms */
form {
    margin-top: 24px;
}

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

label {
    display: block;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 6px;
    font-size: 14px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 6px;
    font-size: 16px;
    background: white;
    transition: all 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #FF8C42;
    box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1);
}

input[type="text"]:invalid,
input[type="email"]:invalid,
input[type="password"]:invalid {
    border-color: #F56565;
}

/* Buttons */
button[type="submit"],
.btn-primary {
    width: 100%;
    background: #FF8C42;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

button[type="submit"]:hover,
.btn-primary:hover {
    background: #E6742A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

button[type="submit"]:active,
.btn-primary:active {
    transform: translateY(0);
}

/* Secondary buttons */
.btn-secondary {
    width: 100%;
    background: transparent;
    color: #FF8C42;
    border: 2px solid #FF8C42;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-top: 12px;
}

.btn-secondary:hover {
    background: #FF8C42;
    color: white;
    transform: translateY(-1px);
}

/* Checkbox */
input[type="checkbox"] {
    margin-right: 8px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin: 16px 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    color: #718096;
}

/* Divider */
.divider {
    margin: 32px 0;
    text-align: center;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #E2E8F0;
}

.divider span {
    background: white;
    padding: 0 16px;
    color: #718096;
    font-size: 14px;
}

/* Error messages */
.errorlist {
    color: #C53030;
    font-size: 14px;
    margin-top: 4px;
    list-style: none;
}

.errorlist li {
    margin-bottom: 4px;
}

/* Footer */
.auth-footer {
    margin-top: 48px;
    text-align: center;
}

.auth-footer p {
    color: #A0ADB8;
    font-size: 14px;
    margin: 0;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 32px 24px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    h1 {
        font-size: 24px;
    }
}