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

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: url('../images/bitcoin.webp') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.9) 0%, rgba(0, 0, 0, 0.8) 50%, rgba(13, 13, 13, 0.9) 100%);
    z-index: 1;
}

.login-container, .register-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid #ffae11;
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(255, 174, 17, 0.2);
    position: relative;
    z-index: 2;
    color: #fff;
}

.register-container {
    max-width: 480px;
}

.logo-section {
    text-align: center;
}

.logo-section img {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}

.login-title, .register-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #ffae11;
}

.divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

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

.divider span {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 0 15px;
    color: #888;
    font-size: 14px;
}

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

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

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

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #444;
    border-radius: 8px;
    font-size: 14px;
    background: #2d2d2d;
    color: #fff;
    transition: all 0.3s ease;
    height: 48px;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #ffae11;
    background: #333;
    box-shadow: 0 0 0 2px rgba(255, 174, 17, 0.1);
}

.form-control::placeholder {
    color: #888;
}

.password-group {
    position: relative;
}

.forgot-password {
    text-align: right;
    margin-bottom: 15px;
}

.forgot-password a {
    color: #ffae11;
    text-decoration: none;
    font-size: 14px;
}

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

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #ffae11;
}

.captcha-group {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.captcha-code {
    background: #333;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #ffae11;
    border: 1px solid #444;
}

.captcha-input {
    flex: 1;
}

.remember-me, .terms-checkbox {
    display: flex;
    align-items: center;
    margin: 20px 0;
    font-size: 14px;
    color: #ccc;
}

.remember-me input, .terms-checkbox input {
    margin-right: 8px;
    accent-color: #ffae11;
}

.terms-checkbox a {
    color: #ffae11;
    text-decoration: underline;
}

.country-code {
    width: 80px;
    flex: none;
}

.btn-login, .btn-signup, .btn-otp {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ffae11 0%, #e69d00 100%);
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 25px 0;
}

.btn-login:hover, .btn-signup:hover, .btn-otp:hover {
    background: linear-gradient(135deg, #e69d00 0%, #cc8800 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 174, 17, 0.3);
}

.btn-group {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.btn-group .btn {
    flex: 1;
    margin: 0;
}

.register-link, .login-link {
    text-align: center;
    color: #ccc;
    font-size: 14px;
}

.register-link a, .login-link a {
    color: #ffae11;
    text-decoration: none;
}

.register-link a:hover, .login-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container, .register-container {
        margin: 20px;
        padding: 25px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 20px;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 10px;
    }
}
