

/* Form Styles */
.dt-form-wrapper {
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(255, 226, 35, 0.3);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 193, 7, 0.1);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.dt-header {
    background: #ffffff;
    color: #333;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-bottom: 3px solid rgba(255, 193, 7, 0.2);
}

.header h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    position: relative;
    z-index: 1;
}

.header h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    position: relative;
    z-index: 1;
}

.header p {
    font-size: 0.9rem;
    opacity: 0.9;
    color: #333;
    position: relative;
    z-index: 1;
}

.dt-form-container {
    padding: 25px;
    position: relative;
    min-height: 500px;
    background: #ffffff;
    overflow-y: auto;
}

.dt-form-section {
    margin-bottom: 40px;
    animation: fadeIn 0.5s ease;
}

.dt-form-section:last-child {
    margin-bottom: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.dt-form-group {
    margin-bottom: 20px;
}

.dt-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.dt-form-group input,
.dt-form-group select,
.dt-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Prompt', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
}

/* Removed focus effects */

.dt-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.dt-section-header {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 179, 0, 0.15) 100%);
    color: #333;
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}



.dt-section-header:hover::before {
    left: 100%;
}

/* Removed section header hover background */

.dt-form-group {
    margin-bottom: 25px;
    position: relative;
}

.dt-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
    position: relative;
}

/* Removed label underline effect */

/* Focus border color for form inputs */
.dt-form-group input:focus,
.dt-form-group select:focus,
.dt-form-group textarea:focus {
    outline: none;
    border-color: #ffc107;
    border-width: 2px;
}

/* Form Header - Separated from form wrapper */
.dt-form-header {
    background: #ffffff;
    color: #333;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid rgba(255, 193, 7, 0.2);
    margin-top: 100px;
    margin-bottom: 10px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(255, 226, 35, 0.2);
}

.dt-form-header h1 {
    margin: 0 0 10px 0;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
}

.dt-form-header p {
    margin: 0;
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

/* Responsive styles for form-header */
@media (max-width: 768px) {
    .dt-form-header {
        padding: 20px 15px;
        margin-top: 80px;
        margin-bottom: 8px;
        border-radius: 15px;
    }
    
    .dt-form-wrapper {
        border-radius: 15px;
    }
    
    .dt-form-header h1 {
        font-size: 1.5rem;
    }
    
    .dt-form-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .dt-form-header {
        padding: 15px 10px;
        margin-top: 70px;
        margin-bottom: 5px;
        border-radius: 12px;
    }
    
    .dt-form-wrapper {
        border-radius: 12px;
    }
    
    .dt-form-header h1 {
        font-size: 1.3rem;
    }
    
    .dt-form-header p {
        font-size: 0.8rem;
    }
}

/* Submit button styles are inherited from common.css */

/* Responsive Design */
@media (max-width: 768px) {
    .dt-form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .dt-form-container {
        padding: 15px;
    }

    .dt-form-section {
        margin-bottom: 30px;
    }

    .dt-section-header {
        padding: 12px 15px;
        font-size: 1rem;
    }

    .dt-form-group {
        margin-bottom: 15px;
    }

    .dt-form-group label {
        font-size: 0.8rem;
    }

    .dt-form-group input,
    .dt-form-group select,
    .dt-form-group textarea {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .dt-form-container {
        padding: 10px;
    }
    
    .dt-header {
        padding: 20px 15px;
    }
    
    .dt-header h1 {
        font-size: 1.5rem;
    }
    
    .dt-header h2 {
        font-size: 1.2rem;
    }

    .dt-form-group input,
    .dt-form-group select,
    .dt-form-group textarea {
        padding: 10px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

.dt-loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #FFF200;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.dt-loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.dt-loading-content {
    text-align: center;
    color: #333;
}

.dt-loading-spinner {
    width: 60px;
    height: 60px;
    position: relative;
    margin: 0 auto 20px;
}

.dt-loading-spinner::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #474747;
    top: 50%;
    left: 50%;
    margin-top: -6px;
    margin-left: -6px;
    animation: trueCircle 1.5s linear infinite;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.2), inset -1px -1px 2px rgba(255, 255, 255, 0.3);
}

@keyframes trueCircle {
    0% {
        transform: rotate(0deg) translateX(20px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(20px) rotate(-360deg);
    }
}

.dt-loading-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.dt-loading-subtext {
    font-size: 0.9rem;
    opacity: 0.8;
}

.dt-main-layout {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.dt-left-column {
    display: none;
}



.dt-right-column {
    flex: 0 0 100%;
    max-width: 800px;
    min-height: 100vh;
    background: #FFF200;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 15px;
    overflow-y: auto;
}

.dt-form-wrapper {
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(255, 226, 35, 0.3);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 193, 7, 0.1);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.dt-header {
    background: #ffffff;
    color: #333;
    padding: 30px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-bottom: 3px solid rgba(255, 193, 7, 0.2);
}

.header.header-hidden {
    transform: translateY(-100%);
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.header h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    position: relative;
    z-index: 1;
}

.header h2 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    position: relative;
    z-index: 1;
}

.header p {
    font-size: 0.9rem;
    opacity: 0.9;
    color: #333;
    position: relative;
    z-index: 1;
}

.dt-form-container {
    padding: 25px;
    position: relative;
    min-height: 500px;
    background: #ffffff;
    overflow-y: auto;
}

.dt-form-section {
    margin-bottom: 40px;
    animation: fadeIn 0.5s ease;
}

.dt-form-section:last-child {
    margin-bottom: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.dt-form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #ffc107;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #ffffff;
    font-family: 'Prompt', sans-serif;
    box-sizing: border-box;
}



.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
    font-family: 'Prompt', sans-serif;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.radio-item:hover {
    background: rgba(255, 193, 7, 0.1);
    border-color: #ffc107;
}

.radio-item input[type="radio"] {
    width: 16px;
    height: 16px;
    margin: 0;
    cursor: pointer;
    accent-color: #ffc107;
    transform: scale(1.2);
}

.radio-item label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
    color: #333;
}


.submit-section {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 193, 7, 0.2);
}

/* Submit button styles are inherited from common.css */

.required {
    color: #e74c3c;
}

.success-message {
    background: #bcf0c8;
    color: #333;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: none;
    position: relative;
    overflow: hidden;
}

.error-message {
    background: #ffffff;
    color: #e74c3c;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: none;
    position: relative;
    overflow: hidden;
}

.file-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

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

.file-upload-label {
    display: block;
    padding: 10px 12px;
    border: 2px dashed #ffc107;
    border-radius: 8px;
    text-align: center;
    color: #333;
    background: #ffffff;
    transition: all 0.3s ease;
    font-family: 'Prompt', sans-serif;
    position: relative;
    overflow: hidden;
}

.file-upload-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
    transition: left 0.5s;
}

.file-upload:hover .file-upload-label::before {
    left: 100%;
}

.file-upload:hover .file-upload-label {
    background: #ffffff;
    border-color: #ffb300;
}

.section-header {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 179, 0, 0.1) 100%);
    padding: 15px 20px;
    border-radius: 10px;
    margin: 25px 0 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Removed section header hover background */

.section-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
}

.business-category-section {
    background: rgba(255, 193, 7, 0.08);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.business-category-section h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.business-type-section {
    background: rgba(255, 193, 7, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.business-type-section h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.document-section {
    background: rgba(255, 193, 7, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.document-section h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 8px;
}

.document-subsection {
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

.document-subsection h5 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
}

.consent-content {
    background: rgba(255, 193, 7, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.consent-content p {
    margin: 0 0 15px 0;
    line-height: 1.6;
    color: #333;
}

.consent-content p:last-child {
    margin-bottom: 0;
}

.subsection {
    background: rgba(255, 193, 7, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.subsection h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 8px;
}

.document-note {
    background: rgba(255, 193, 7, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-style: italic;
    color: #555;
}

.notes-content {
    background: rgba(255, 193, 7, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.notes-content ol {
    margin: 0;
    padding-left: 20px;
}

.notes-content li {
    margin: 0 0 15px 0;
    line-height: 1.6;
    color: #333;
}

.notes-content li:last-child {
    margin-bottom: 0;
}

.agreement-content {
    background: rgba(255, 193, 7, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.agreement-content h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 8px;
}

.agreement-content p {
    margin: 0;
    line-height: 1.6;
    color: #333;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid rgba(255, 193, 7, 0.2);
    max-height: 400px;
    overflow-y: auto;
}

.consent-content p {
    margin-bottom: 15px;
    line-height: 1.6;
    text-align: justify;
    color: #333;
}

.consent-content strong {
    color: #ffc107;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .main-layout {
        flex-direction: column;
    }
    
    .right-column {
        flex: none;
        max-width: 100%;
        width: 100%;
        padding: 15px;
    }
    
    .form-wrapper {
        max-width: none;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .header h1 {
        font-size: 1.4rem;
    }
    
    .header h2 {
        font-size: 1.2rem;
    }
    
    .header p {
        font-size: 0.85rem;
    }
    
    .form-container {
        padding: 15px;
    }

    .form-section {
        margin-bottom: 30px;
    }

    .section-header {
        padding: 12px 15px;
        margin: 20px 0 15px 0;
    }

    .section-header h3 {
        font-size: 1rem;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .radio-item {
        padding: 8px 10px;
    }

    .radio-item label {
        font-size: 0.85rem;
    }

    .business-category-section,
    .business-type-section {
        padding: 12px;
        margin: 12px 0;
    }

    .document-section {
        padding: 15px;
        margin: 15px 0;
    }

    .document-subsection {
        padding: 12px;
        margin: 12px 0;
    }

    .consent-content {
        padding: 15px;
        max-height: 300px;
    }

    .consent-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .submit-section {
        margin-top: 25px;
        padding-top: 15px;
    }

    .submit-btn {
        padding: 12px 30px;
        font-size: 1rem;
        min-width: 120px;
    }


}

@media (max-width: 480px) {
    .right-column {
        padding: 10px;
    }
    
    .form-container {
        padding: 10px;
    }
    
    .header {
        padding: 20px 15px;
    }
    
    .header h1 {
        font-size: 1.3rem;
    }
    
    .header h2 {
        font-size: 1.1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .submit-btn {
        width: 100%;
        padding: 15px;
    }
    
    .radio-group {
        gap: 8px;
    }
    
    .radio-item {
        padding: 10px;
    }
    
    .business-category-section,
    .business-type-section {
        padding: 10px;
    }
    
    .document-section {
        padding: 12px;
    }
    
    .consent-content {
        padding: 12px;
        max-height: 250px;
    }

    .section-header {
        padding: 10px 12px;
        margin: 15px 0 10px 0;
    }

    .section-header h3 {
        font-size: 0.95rem;
    }

    .form-section {
        margin-bottom: 25px;
    }
}

@media (max-width: 360px) {
    .right-column {
        padding: 8px;
    }
    
    .form-container {
        padding: 8px;
    }
    
    .header {
        padding: 15px 10px;
    }
    
    .header h1 {
        font-size: 1.2rem;
    }
    
    .header h2 {
        font-size: 1rem;
    }
    
    .header p {
        font-size: 0.8rem;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .form-group label {
        font-size: 0.75rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px;
        font-size: 16px;
    }
    
    .radio-item {
        padding: 8px;
    }
    
    .radio-item label {
        font-size: 0.8rem;
    }
    
    .business-category-section,
    .business-type-section {
        padding: 8px;
        margin: 8px 0;
    }
    
    .document-section {
        padding: 10px;
        margin: 10px 0;
    }
    
    .document-subsection {
        padding: 8px;
        margin: 8px 0;
    }
    
    .consent-content {
        padding: 10px;
        max-height: 200px;
    }
    
    .consent-content p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .submit-section {
        margin-top: 20px;
        padding-top: 12px;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 44px; /* Minimum touch target size */
    }
    
    .radio-item {
        min-height: 44px;
    }
    
    .submit-btn {
        min-height: 48px;
    }
    
    .file-upload-label {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .header {
        padding: 15px 20px;
    }
    
    .header h1 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .header h2 {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .form-container {
        padding: 10px 15px;
    }
    
    .form-section {
        margin-bottom: 20px;
    }
    
    .section-header {
        padding: 10px 15px;
        margin: 15px 0 10px 0;
    }
}

