.modern-form-section {
    background: rgb(var(--gray-light-100));
    min-height: 100vh;
    padding: 4rem 1rem; /* Yanlarda padding eklendi */
}

.modern-form-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1rem; /* Container'a da padding eklendi */
}

.modern-form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.modern-form-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgb(var(--gray-light-900));
    line-height: 1.2;
}

.modern-form-subtitle {
    font-size: 1.1rem;
    color: rgb(var(--gray-light-800));
    font-weight: 400;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.remove-form-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgb(var(--gray-light-300));
    width: 100%; /* Açık genişlik tanımı */
    box-sizing: border-box; /* Box-sizing eklendi */
}

/* Policy Section Styling */
.policy-section {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgb(var(--gray-light-300));
    width: 100%;
    box-sizing: border-box;
}

.policy-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgb(var(--gray-light-900));
    margin-bottom: 1.5rem;
}

.policy-text {
    color: rgb(var(--gray-light-700));
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.policy-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.policy-list li {
    color: rgb(var(--gray-light-700));
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.policy-list li::before {
    content: "•";
    color: rgb(var(--primary-light));
    font-weight: 600;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Form Styling Override for Shortcodes */
.remove-form-content form {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.remove-form-content .form-group,
.remove-form-content .wpforms-field,
.remove-form-content .gfield {
    margin-bottom: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.remove-form-content label,
.remove-form-content .wpforms-field-label,
.remove-form-content .gfield_label {
    display: block;
    color: rgb(var(--gray-light-800)) !important;
    font-weight: 600 !important;
    margin-bottom: 0.75rem !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100% !important;
}

.remove-form-content input[type="text"],
.remove-form-content input[type="email"],
.remove-form-content input[type="tel"],
.remove-form-content input[type="password"],
.remove-form-content input[type="number"],
.remove-form-content input[type="url"],
.remove-form-content select,
.remove-form-content textarea,
.remove-form-content .wpforms-field input,
.remove-form-content .wpforms-field select,
.remove-form-content .wpforms-field textarea,
.remove-form-content .gfield input,
.remove-form-content .gfield select,
.remove-form-content .gfield textarea {
    width: 100% !important;
    max-width: 100% !important; /* Max-width eklendi */
    padding: 1rem 1.25rem !important;
    border: 2px solid rgb(var(--gray-light-300)) !important;
    border-radius: 12px !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    background: rgb(var(--gray-light-100)) !important;
    color: rgb(var(--gray-light-800)) !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    margin: 0 !important; /* Margin sıfırlandı */
}

.remove-form-content input[type="text"]:focus,
.remove-form-content input[type="email"]:focus,
.remove-form-content input[type="tel"]:focus,
.remove-form-content input[type="password"]:focus,
.remove-form-content input[type="number"]:focus,
.remove-form-content input[type="url"]:focus,
.remove-form-content select:focus,
.remove-form-content textarea:focus,
.remove-form-content .wpforms-field input:focus,
.remove-form-content .wpforms-field select:focus,
.remove-form-content .wpforms-field textarea:focus,
.remove-form-content .gfield input:focus,
.remove-form-content .gfield select:focus,
.remove-form-content .gfield textarea:focus {
    outline: none !important;
    border-color: rgb(var(--primary-light)) !important;
    background: white !important;
    box-shadow: 0 0 0 3px rgba(var(--primary-light), 0.1) !important;
}

.remove-form-content textarea,
.remove-form-content .wpforms-field textarea,
.remove-form-content .gfield textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

.remove-form-content input::placeholder,
.remove-form-content textarea::placeholder,
.remove-form-content .wpforms-field input::placeholder,
.remove-form-content .wpforms-field textarea::placeholder,
.remove-form-content .gfield input::placeholder,
.remove-form-content .gfield textarea::placeholder {
    color: rgb(var(--gray-light-500)) !important;
}

/* Button Styling */
.remove-form-content button,
.remove-form-content input[type="submit"],
.remove-form-content .wpforms-submit,
.remove-form-content .gform_button,
.remove-form-content .submit-btn {
    background: linear-gradient(135deg, rgb(var(--primary-light)) 0%, rgb(var(--primary-dark)) 100%) !important;
    color: white !important;
    border: none !important;
    padding: 1rem 2rem !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 8px 24px rgba(var(--primary-light), 0.3) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-family: inherit !important;
    display: inline-block !important;
    text-align: center !important;
    min-width: 200px !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.remove-form-content button:hover,
.remove-form-content input[type="submit"]:hover,
.remove-form-content .wpforms-submit:hover,
.remove-form-content .gform_button:hover,
.remove-form-content .submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 32px rgba(var(--primary-light), 0.4) !important;
}

.remove-form-content button:active,
.remove-form-content input[type="submit"]:active,
.remove-form-content .wpforms-submit:active,
.remove-form-content .gform_button:active,
.remove-form-content .submit-btn:active {
    transform: translateY(0) !important;
}

/* Button Container */
.button-container {
    text-align: center;
    margin-top: 2rem;
    width: 100%;
}

/* Checkbox and Radio Styling */
.remove-form-content input[type="checkbox"],
.remove-form-content input[type="radio"],
.remove-form-content .wpforms-field input[type="checkbox"],
.remove-form-content .wpforms-field input[type="radio"],
.remove-form-content .gfield input[type="checkbox"],
.remove-form-content .gfield input[type="radio"] {
    width: auto !important;
    max-width: none !important;
    margin-right: 0.75rem !important;
    accent-color: rgb(var(--primary-light)) !important;
    transform: scale(1.2) !important;
}

.remove-form-content .checkbox-label,
.remove-form-content .radio-label {
    display: flex !important;
    align-items: flex-start !important;
    text-transform: none !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: rgb(var(--gray-light-700)) !important;
    margin-bottom: 1rem !important;
    width: 100% !important;
}

/* Error and Success Messages */
.remove-form-content .error,
.remove-form-content .wpforms-error,
.remove-form-content .gfield_error {
    color: rgb(var(--danger)) !important;
    font-size: 0.875rem !important;
    margin-top: 0.5rem !important;
}

.remove-form-content .success,
.remove-form-content .wpforms-confirmation-container,
.remove-form-content .gform_confirmation_message {
    background: linear-gradient(135deg, rgb(var(--success)) 0%, rgb(var(--info)) 100%) !important;
    color: white !important;
    padding: 1.5rem !important;
    border-radius: 12px !important;
    text-align: center !important;
    font-weight: 500 !important;
    margin: 1rem 0 !important;
}

/* File Upload Styling */
.remove-form-content input[type="file"],
.remove-form-content .wpforms-field input[type="file"],
.remove-form-content .gfield input[type="file"] {
    background: white !important;
    border: 2px dashed rgb(var(--gray-light-400)) !important;
    padding: 2rem !important;
    text-align: center !important;
    cursor: pointer !important;
}

.remove-form-content input[type="file"]:hover,
.remove-form-content .wpforms-field input[type="file"]:hover,
.remove-form-content .gfield input[type="file"]:hover {
    border-color: rgb(var(--primary-light)) !important;
    background: rgba(var(--primary-light), 0.05) !important;
}

/* Required Field Indicator */
.remove-form-content .required,
.remove-form-content .wpforms-required-label,
.remove-form-content .gfield_required {
    color: rgb(var(--danger)) !important;
}

/* Multi-column Forms */
.remove-form-content .wpforms-field-row,
.remove-form-content .gfield-row {
    display: flex !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    width: 100% !important;
}

.remove-form-content .wpforms-field-row .wpforms-field,
.remove-form-content .gfield-row .gfield {
    flex: 1 !important;
    min-width: 200px !important;
    max-width: 100% !important;
}

/* Helper Text */
.helper-text {
    font-size: 0.875rem;
    color: rgb(var(--gray-light-800));
    margin-top: 0.25rem;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-form-section {
        padding: 2rem 0.5rem; /* Mobilde daha az padding */
    }

    .modern-form-container {
        margin: 0;
        padding: 0 0.5rem; /* Mobilde az padding */
    }

    .modern-form-header {
        margin-bottom: 2rem;
    }

    .modern-form-title {
        font-size: 2rem;
    }

    .remove-form-content,
    .policy-section {
        padding: 1.5rem 1rem; /* Mobilde daha az padding */
        margin: 0 0 1rem 0;
    }

    .remove-form-content .wpforms-field-row,
    .remove-form-content .gfield-row {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .remove-form-content .wpforms-field-row .wpforms-field,
    .remove-form-content .gfield-row .gfield {
        min-width: 100% !important;
        width: 100% !important;
    }

    /* Mobil özel düzenlemeler */
    .remove-form-content button,
    .remove-form-content input[type="submit"],
    .remove-form-content .wpforms-submit,
    .remove-form-content .gform_button,
    .remove-form-content .submit-btn {
        min-width: auto !important;
        width: 100% !important;
        padding: 1rem 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .modern-form-section {
        padding: 1rem 0.25rem;
    }

    .modern-form-container {
        padding: 0 0.25rem;
    }

    .remove-form-content,
    .policy-section {
        padding: 1rem 0.75rem;
        border-radius: 12px;
    }

    .modern-form-title {
        font-size: 1.75rem;
    }

    .modern-form-subtitle {
        font-size: 1rem;
    }
}