/* Import Raleway font */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap');

/* Authentication pages styling */

.auth-page {
    background: linear-gradient(135deg, #0EBFC1 0%, #0C314A 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

.auth-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(12, 49, 74, 0.2);
    padding: 40px;
    text-align: center;
}

.auth-logo {
    margin-bottom: 0;
}

.logo-separator {
    width: 70%;
    height: 1px;
    background: #e2e8f0;
    margin: 0 auto 25px auto;
    border-radius: 0;
}

.logo-image {
    height: 60px;
    width: auto;
}

.auth-header h1 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #0C314A;
    font-weight: 600;
}

.auth-header p {
    margin: 0 0 32px 0;
    color: #0C314A;
    font-size: 16px;
    font-weight: 500;
}

.auth-form {
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #0C314A;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #0EBFC1;
    box-shadow: 0 0 0 3px rgba(14, 191, 193, 0.1);
}

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

.btn-primary {
    width: 100%;
    padding: 14px;
    background: #0EBFC1;
    color: white;
    border: 2px solid #0EBFC1;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.btn-primary:hover:not(:disabled) {
    background: #0C314A;
    border-color: #0C314A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(12, 49, 74, 0.3);
}

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

.btn-secondary {
    width: 100%;
    padding: 14px;
    background: white;
    color: #0EBFC1;
    border: 2px solid #0EBFC1;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.btn-secondary:hover:not(:disabled) {
    background: #0EBFC1;
    color: white;
    border-color: #0EBFC1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 191, 193, 0.25);
}

.btn-secondary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: none;
}

.social-login {
    margin: 0 0 0 0;
}

.divider {
    text-align: center;
    margin: 0 0 16px 0;
}

.divider span {
    color: #718096;
    font-size: 14px;
}

.btn-social {
    width: 100%;
    padding: 12px;
    border: 2px solid #0EBFC1;
    border-radius: 8px;
    background: white;
    color: #0C314A;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-social:hover {
    background: #0EBFC1;
    color: white;
    border-color: #0EBFC1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 191, 193, 0.25);
}

.btn-google svg {
    flex-shrink: 0;
}

.auth-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

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

.auth-footer a {
    color: #0EBFC1;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
    color: #0C314A;
}

.error-message {
    background: #fed7d7;
    color: #c53030;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 16px;
    border: 1px solid #feb2b2;
}

.success-message {
    background: #c6f6d5;
    color: #276749;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 16px;
    border: 1px solid #9ae6b4;
}

.success-message a {
    color: #2f855a;
    font-weight: 600;
}

/* Responsive design */
@media (max-width: 480px) {
    .auth-card {
        padding: 24px;
        margin: 10px;
    }
    
    .auth-header h1 {
        font-size: 24px;
    }
}