/* Form Container */
.clr-form-container {
    max-width: 450px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Form Fields */
.clr-form-field {
    margin-bottom: 15px;
}

/* Input Styles */
.clr-form-field input[type="email"],
.clr-form-field input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s;
}

.clr-form-field input[type="email"]:focus,
.clr-form-field input[type="password"]:focus {
    border-color: #007bff;
}

/* Password Field */
.password-field {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>') no-repeat center;
    opacity: 0.5;
}

.toggle-password.show-password {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle><line x1="1" y1="1" x2="23" y2="23"></line></svg>') no-repeat center;
}

/* Remember Me Option */
.remember-me {
    display: flex;
    align-items: center;
}

.remember-me label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    margin-right: 8px;
}

/* Submit Button */
.clr-submit-button {
    width: 100%;
    padding: 15px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.clr-submit-button:hover {
    background-color: #333;
}

.arrow-icon {
    margin-left: 10px;
    font-size: 18px;
}

/* Forgot Password Link */
.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #666;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* Login Link */
.login-link {
    text-align: center;
    margin-top: 15px;
}

.login-link a {
    color: #007bff;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Error Messages */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* 弹窗样式 */
.clr-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.clr-modal-overlay.active {
    display: flex;
}

.clr-modal {
    background-color: #fff;
    border-radius: 8px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 30px;
}

.clr-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.clr-modal-close:hover {
    color: #000;
}

/* 选项卡样式 */
.clr-tabs {
    width: 100%;
}

.clr-tab-header {
    display: flex;
    margin-bottom: 20px;
    gap: 30px;
}

.clr-tab-btn {
    padding: 10px 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: #777;
    border-bottom: none;
    transition: all 0.3s;
}

.clr-tab-btn:hover {
    color: #000;
}

.clr-tab-btn.active {
    color: #000;
    border-bottom: 3px solid #000;
}

.clr-tab-pane {
    display: none;
}

.clr-tab-pane.active {
    display: block;
}

/* Privacy Terms */
.privacy-terms {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.privacy-terms a {
    color: #000;
    text-decoration: none;
}

.privacy-terms a:hover {
    text-decoration: underline;
}

/* Security Badge */
.security-badge {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.security-badge p {
    margin: 0;
} 