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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.4;
    color: #000;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Header Styles */
.exness-header {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.header-logo .logo-text {
    font-size: 24px;
    font-weight: 300;
    color: #000;
    letter-spacing: -1px;
}

.header-actions {
    display: flex;
    align-items: center;
}

.header-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.header-link:hover {
    color: #0077ff;
}

/* Footer Styles */
.exness-footer {
    background: #1a1a1a;
    color: #fff;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 30px;
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-link {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #0077ff;
}

.footer-regulatory {
    margin-bottom: 20px;
}

.footer-regulatory p {
    font-size: 11px;
    color: #999;
    line-height: 1.5;
    margin-bottom: 8px;
}

.footer-copyright p {
    font-size: 12px;
    color: #ccc;
    margin: 0;
}

.auth-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.logo {
    font-size: 48px;
    font-weight: 300;
    color: #000;
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.auth-message {
    font-size: 18px;
    margin-bottom: 30px;
    color: #000;
    line-height: 1.5;
    font-weight: 400;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
    align-items: center;
}

.btn {
    padding: 14px 40px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    min-width: 100%;
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #0077ff;
    color: #fff;
    border: 1px solid #0077ff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: #0077ff;
    border-color: #0077ff;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.btn-outline {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

/* .support-info {
    margin-bottom: 30px;
} */

.support-email {
    color: #0066CC;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.support-email:hover {
    text-decoration: underline;
}

.regulatory-info {
    font-size: 11px;
    color: #666;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.regulatory-info p {
    margin-bottom: 8px;
}

.regulatory-info a {
    color: #0066CC;
    text-decoration: none;
}

.regulatory-info a:hover {
    text-decoration: underline;
}

/* Form Styles */
.auth-tabs {
    display: flex;
    margin-bottom: 0;
    border-bottom: 1px solid #E9ECEE;
    justify-content: center;
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.tab-button.active {
    color: #000;
    border-bottom-color: #0077ff;
    font-weight: 600;
}

.tab-button:hover {
    color: #000;
}

.auth-form {
    display: none;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.auth-form:first-of-type {
    display: block;
}

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

.form-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

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

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E9ECEE;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    background: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-height: 44px;
}

.password-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-container .form-control {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.password-toggle:hover {
    background: #f0f0f0;
}

.eye-icon {
    font-size: 16px;
    color: #666;
}

.form-control:focus {
    outline: none;
    border-color: #0077ff;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}

.password-requirements {
    margin-top: 8px;
    font-size: 12px;
    color: #666;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
}

.password-requirements li {
    margin-bottom: 4px;
    position: relative;
    padding-left: 20px;
}

.password-requirements li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #999;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.4;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.forgot-password {
    color: #0077ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    align-self: center;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Alert Styles */
.alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 300px;
}

.alert {
    background: #fff;
    border: 1px solid #0077ff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 119, 255, 0.15);
    font-size: 14px;
    color: #333;
    animation: slideIn 0.3s ease-out;
}

.alert.success {
    border-color: #28a745;
    background: #f0fdf4;
    color: #155724;
}

.alert.error {
    border-color: #dc3545;
    background: #fef2f2;
    color: #721c24;
}

.alert-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.alert-message {
    margin-bottom: 0;
    line-height: 1.4;
}

.alert-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #666;
}

.alert-close:hover {
    color: #333;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        padding: 0 20px;
    }
    
    .logo {
        font-size: 48px;
        margin-bottom: 50px;
    }
    
    .auth-message {
        font-size: 20px;
        margin-bottom: 40px;
    }
    
    .btn {
        padding: 14px 40px;
        font-size: 15px;
        min-width: 200px;
    }
    
    .auth-buttons {
        margin-bottom: 60px;
    }
    
    .support-info {
        margin-bottom: 80px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 40px;
        margin-bottom: 40px;
    }
    
    .auth-message {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .btn {
        padding: 12px 32px;
        font-size: 14px;
        min-width: 180px;
    }
}
