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

:root {
    --primary: #006AA7;
    --primary-dark: #084B80;
    --accent: #FFD936;
    --accent-dark: #F1B016;
    --secondary: #1E72B2;
    --muted: #5F7175;
    --muted-light: #8A9090;
    --error: #dc3545;
    --success: #28a745;
    --bg: #f5f7fa;
    --card-bg: #ffffff;
    --text: #333333;
    --text-light: #5F7175;
    --border: #dee2e6;
    --radius: 8px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Auth Layout */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-home-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
}

.auth-home-logo img {
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.auth-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    padding: 40px;
    width: 100%;
    max-width: 480px;
}

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

.auth-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-light);
    font-size: 14px;
}

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

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

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    transition: border-color 0.2s;
    outline: none;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 106, 167, 0.1);
}

.form-group input.error {
    border-color: var(--error);
}

.form-group .field-error {
    color: var(--error);
    font-size: 12px;
    margin-top: 4px;
}

.form-note {
    font-size: 12px;
    color: #9ca3af;
    margin: 8px 0 4px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-primary:disabled {
    background: #a0c4f1;
    cursor: not-allowed;
}

.btn .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
}

.btn.loading .spinner {
    display: inline-block;
}

.btn.loading .btn-text {
    opacity: 0.7;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 20px;
    display: none;
}

.alert.show {
    display: block;
}

.alert-error {
    background: #fce4e4;
    color: var(--error);
    border: 1px solid #f5c6cb;
}

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

/* Links */
.auth-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.auth-links a {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.auth-links a:first-of-type {
    color: var(--text-light);
    border: 1.5px solid var(--border);
    background: transparent;
}

.auth-links a:first-of-type:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f0f6ff;
}

.auth-links a:nth-of-type(2) {
    color: var(--primary);
    border: 1.5px solid var(--primary);
    background: transparent;
}

.auth-links a:nth-of-type(2):hover {
    background: var(--primary);
    color: #fff;
}

.auth-links a:nth-of-type(3) {
    color: #fff;
    background: var(--primary);
    border: 1.5px solid var(--primary);
}

.auth-links a:nth-of-type(3):hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.auth-links .separator {
    display: none;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: var(--text-light);
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.divider::before { margin-right: 12px; }
.divider::after { margin-left: 12px; }

/* Verification code input */
.code-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 24px;
}

.code-inputs input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    outline: none;
}

.code-inputs input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 106, 167, 0.1);
}

/* contact page */
.contact-template{
    display: flex;
    align-items: start;
    justify-content: space-evenly;
    margin: 50px 50px;
}
.text-muted { color: #6e6e73 !important;}
.text-success { color: #1d1d1f !important;}

.h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 48px !important;
    font-weight: 200 !important;
}
.h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 30px !important;
    font-weight: 300;
}
.h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 22px !important;
}

/* contact social handles button */
.button{
    background: #1d1d1f;
    border: 0px solid #1d1d1f;
    border-radius: 50px;
    padding: 10px;
    color: #e9eef5;
}

.button:hover{
    height: 10%;
    /* width: 10%; */
    box-shadow: 0px 5px 10px 0px rgba(29, 29, 31, 0.5);
}


/* highlight social media handles*/


@keyframes highlight {
    0% { 
        background: #ffffff; 
    }
    100% {
        background: none;
    }
}

#highlight{
    display: flex;
    border-radius: 20px;
}
.highlight {
    display: flex;
    animation: highlight 2s;
}

/* Responsive */
@media (max-width: 520px) {
    .auth-card {
        padding: 24px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
