/* TWW Law Contact Form Styles */
.tww-form-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
}

@media (max-width: 768px) {
    .tww-form-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
}

/* Process Steps Styles */
.tww-process-steps {
    background: linear-gradient(135deg, #F9F7F4 0%, #F5F2ED 100%);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tww-process-steps h2 {
    font-size: 1.75rem;
    color: #2D3748;
    margin-bottom: 2rem;
    font-weight: bold;
    line-height: 1.3;
}

.tww-highlight {
    color: #0B2E52;
}

.tww-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tww-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

/* Basic icon styling - SVG icons are defined in icons.css */
.tww-step-icon {
    background: white;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: center;
}

.tww-step-content h3 {
    font-size: 1.125rem;
    color: #2D3748;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tww-step-content p {
    color: #4A5568;
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

/* Contact Form Styles */
.tww-contact-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tww-contact-form h2 {
    font-size: 1.5rem;
    color: #2D3748;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.tww-form-group {
    margin-bottom: 1.5rem;
}

.tww-form-group label {
    display: block;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.required {
    color: #E53E3E;
}

.tww-form-group input,
.tww-form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E2E8F0;
    border-radius: 0.5rem;
    background-color: #F7FAFC;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.tww-form-group input:focus,
.tww-form-group textarea:focus {
    outline: none;
    border-color: #0B2E52;
    box-shadow: 0 0 0 3px rgba(11, 46, 82, 0.1);
}

.tww-form-description {
    color: #4A5568;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    margin-top: 0;
}

/* File Upload Styles */
.tww-file-upload {
    position: relative;
}

.tww-file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.tww-file-upload-area {
    border: 2px dashed #CBD5E0;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    background-color: #F7FAFC;
    transition: all 0.2s ease;
    cursor: pointer;
}

.tww-file-upload-area:hover {
    border-color: #0B2E52;
    background-color: #EDF2F7;
}

.tww-upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tww-file-upload-area p {
    margin: 0.5rem 0;
    color: #2D3748;
}

.tww-file-upload-area small {
    color: #718096;
    font-size: 0.75rem;
}

/* Checkbox Styles */
.tww-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.tww-checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 0.25rem;
}

.tww-checkbox-group label {
    font-weight: normal;
    color: #4A5568;
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.tww-checkbox-group a {
    color: #0B2E52;
    text-decoration: none;
    font-weight: 600;
}

.tww-checkbox-group a:hover {
    text-decoration: underline;
}

/* Submit Button */
.tww-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #FFA336 0%, #E6922D 100%);
    color: white;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tww-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.tww-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.tww-btn-loading {
    display: none;
}

.tww-submit-btn.loading .tww-btn-text {
    display: none;
}

.tww-submit-btn.loading .tww-btn-loading {
    display: inline;
}

/* Form Messages */
#tww-form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
}

#tww-form-message.success {
    background-color: #F0FFF4;
    color: #38A169;
    border: 1px solid #9AE6B4;
}

#tww-form-message.error {
    background-color: #FED7D7;
    color: #E53E3E;
    border: 1px solid #FCA5A5;
}

/* Contact Information Section */
.tww-contact-info {
    max-width: 1200px;
    margin: 3rem auto 0;
    background: #0B2E52;
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .tww-contact-info {
        grid-template-columns: 1fr;
        margin: 2rem auto 0;
    }
}

.tww-contact-details h3 {
    color: #FFA336;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.tww-contact-details p {
    color: #E2E8F0;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.tww-contact-details p:first-of-type {
    color: white;
    font-weight: 600;
}

.tww-urgent-notice {
    background: rgba(255, 163, 54, 0.2);
    padding: 1.5rem;
    border-radius: 0.75rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.tww-notice-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.tww-urgent-notice h4 {
    color: #FFA336;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.tww-urgent-notice p {
    color: #E2E8F0;
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .tww-form-wrapper {
        padding: 0.5rem;
    }
    
    .tww-process-steps,
    .tww-contact-form {
        padding: 1.5rem;
    }
    
    .tww-step {
        flex-direction: column;
        text-align: center;
    }
    
    .tww-step-icon {
        align-self: center;
    }
}