/* Shronix WA Connect - Auth Pages CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #FFF8E7;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #333;
}

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

.auth-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.auth-card-wide {
    max-width: 720px;
}

.auth-container:has(.auth-card-wide) {
    max-width: 720px;
}

.auth-header {
    background: #1a1a2e;
    color: #fff;
    padding: 30px 40px;
    text-align: center;
}

.auth-header h1 {
    font-size: 26px;
    margin-bottom: 5px;
    color: #F5A623;
}

.auth-header p {
    font-size: 14px;
    opacity: 0.85;
}

.auth-body {
    padding: 35px 40px;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #F5A623;
}

.form-group small {
    display: block;
    color: #888;
    font-size: 12px;
    margin-top: 4px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: #F5A623;
    color: #1a1a2e;
}

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

.btn-block {
    display: block;
    width: 100%;
    padding: 13px;
    font-size: 15px;
    margin-top: 10px;
}

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

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-footer {
    text-align: center;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #666;
}

.auth-footer p {
    margin-bottom: 6px;
}

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

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

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .auth-body {
        padding: 25px 20px;
    }
}
