/* 联系表单弹窗样式 */
.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.contact-modal-content {
    background-color: #1E1E1E;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.contact-modal-title {
    color: white;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 8px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-align: center;
}

.contact-modal-subtitle {
    color: #CCCCCC;
    font-size: 16px;
    margin: 0 0 32px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: white;
    font-size: 14px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.form-group input {
    background-color: #2A2A2A;
    border: 1px solid #444444;
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-color: #03FCF7;
    box-shadow: 0 0 10px rgba(3, 252, 247, 0.3);
}

.form-group input.error {
    border-color: #FF6D5F;
    box-shadow: 0 0 10px rgba(255, 109, 95, 0.3);
}

.form-group input.success {
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.error-message {
    color: #FF6D5F;
    font-size: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 16px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.btn-cancel, .btn-submit {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-cancel {
    background-color: #444444;
    color: white;
}

.btn-cancel:hover {
    background-color: #555555;
}

.btn-submit {
    background: linear-gradient(109.9deg, #03FCF7 4.27%, #F33ABF 138.06%);
    color: #052835;
}

.btn-submit:hover {
    background: linear-gradient(0deg, rgba(0,0,0,0.2), rgba(0,0,0,0.2)), linear-gradient(109.9deg, #03FCF7 4.27%, #F33ABF 138.06%);
    transform: translateY(-2px);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 成功/失败提示样式 */
.success-message, .error-message-global {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    text-align: center;
}

.success-message {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.error-message-global {
    background-color: rgba(255, 109, 95, 0.2);
    color: #FF6D5F;
    border: 1px solid #FF6D5F;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .contact-modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .contact-modal-title {
        font-size: 20px;
    }
    
    .contact-modal-subtitle {
        font-size: 14px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-cancel, .btn-submit {
        width: 100%;
    }
}
