/* Contact Form Styles */

.contact-form-wrapper {
    padding: 40px 20px;
    background: #f5f7fa;
}

/* Overrides for journal page */
.journal-contact-wrapper.contact-form-wrapper {
    padding: 0;
    background: transparent;
}

.journal-contact-container.contact-form-container {
    max-width: 100%;
    padding: 35px;
    margin: 0;
}

@media (max-width: 768px) {
    .journal-contact-container.contact-form-container {
        padding: 20px;
    }
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 35px;
}

.form-header h2 {
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-header p {
    color: #7f8c8d;
    font-size: 1rem;
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modern-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.required-star {
    color: #e74c3c;
}

.modern-input,
.modern-textarea {
    padding: 14px 18px;
    border: 2px solid #e0e7ff;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #fafbfc;
    color: #2c3e50;
    font-family: inherit;
}

.modern-input::placeholder,
.modern-textarea::placeholder {
    font-family: inherit;
    opacity: 0.7;
}

.modern-input:focus,
.modern-textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.modern-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    border-radius: 10px;
}

.service-checkbox {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.service-checkbox:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.service-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-left: 10px;
    cursor: pointer;
    accent-color: #667eea;
}

.service-checkbox input[type="checkbox"]:checked ~ .service-name {
    font-weight: bold;
}

.service-name {
    font-size: 0.95rem;
    color: #2c3e50;
}

.submit-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.modern-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    max-width: 300px;
}

.modern-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

.modern-submit-btn:active {
    transform: translateY(-1px);
}

.btn-icon svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 25px;
    }
    
    .form-grid-2col {
        grid-template-columns: 1fr;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .services-container {
        grid-template-columns: 1fr;
    }
}

