.dsf-wrapper {
    max-width: 700px;
    margin: 40px auto;
    font-family: 'Helvetica Neue', sans-serif;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.dsf-header {
    background: linear-gradient(135deg, #003580, #1a4a8d);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

.dsf-headline {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: 0.5px;
    color: #ffeb3b;
}

.dsf-instruction-block {
    font-style: italic;
    color: #cfd9ec;
    font-size: 15px;
    margin-top: 10px;
    line-height: 1.5;
}

.dsf-wrapper form {
    background: #f9f9f9;
    padding: 30px;
}

.dsf-field {
    margin-bottom: 20px;
}
.dsf-field input[readonly] {
    background: #f2f2f2;
    color: #666;
    cursor: not-allowed;
}


.dsf-field label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #003580;
}

.dsf-field input[type="text"],
.dsf-field input[type="email"],
.dsf-field input[type="file"],
.dsf-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.dsf-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.dsf-field.third {
    flex: 1 1 calc(33.33% - 20px);
    min-width: 200px;
}

.dsf-field.half {
    width: 50%;
}

/* Style the <select> the same as text inputs */
.dsf-field select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s;
}

.dsf-field select:focus {
    border-color: #003580;
    outline: none;
}


.dsf-submit {
    display: block;
    width: 100%;
    background-color: #003580;
    color: white;
    font-size: 16px;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dsf-submit:hover {
    background-color: #00285f;
}

.main_title {
    display: none;
}


/* thank you page */

.dsf-thankyou-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    min-height: 60vh;
    background: linear-gradient(135deg, #003580, #1a4a8d);
}

.dsf-thankyou-card {
    background: #ffffff;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.dsf-thankyou-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #003580;
}

.dsf-thankyou-text {
    font-size: 16px;
    color: #333333;
    margin-bottom: 15px;
}

.dsf-thankyou-button {
    display: inline-block;
    background: #003580;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.dsf-thankyou-button:hover {
    background: #00285f;
}



/* Style for half-width fields like phone */
.dsf-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.dsf-row .dsf-field.half {
    flex: 1 1 48%;
    min-width: 250px;
}

.dsf-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #003580;
}

.dsf-field input[type="tel"],
.dsf-field input[type="email"],
.dsf-field input[type="text"],
.dsf-field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.dsf-field input[type="tel"]:focus {
    border-color: #003580;
    outline: none;
}

.dsf-field input[type="tel"].dsf-error {
    border-color: #d93025;
    background: #fff0f0;
    color: #d93025;
}

.dsf-error-message {
    color: #d93025;
    font-size: 14px;
    margin-top: 5px;
}

.dsf-update-block {
    background: linear-gradient(90deg, #003580, #005bb5);
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
    color: #fff;
    text-align: center;
}

.dsf-update-block p {
    margin: 0 0 10px 0;
    font-size: 16px;
    line-height: 1.5;
}

.dsf-update-block strong {
    color: #ffeb3b;
}

.dsf-update-btn {
    display: inline-block;
    background: #fff;
    color: #003580;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
}

.dsf-update-btn:hover {
    background: #003580;
    color: #fff;
}


/* Entire page background and wrapper */
.dsf-thankyou-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 70vh;
    background: linear-gradient(135deg, #003580 0%, #1e4d91 100%);
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Card container */
.dsf-thankyou-card {
    background: #fff;
    border-radius: 8px;
    max-width: 700px;
    width: 100%;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: #333;
    box-sizing: border-box;
    text-align: left;
}

/* Thank you title */
.dsf-thankyou-title {
    font-size: 36px;
    font-weight: bold;
    color: #003580;
    margin-bottom: 20px;
    text-align: center;
}

/* Regular text paragraphs */
.dsf-thankyou-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.dsf-thankyou-text strong {
    color: #003580;
}

.dsf-thankyou-text a {
    color: #003580;
    font-weight: bold;
    text-decoration: underline;
}
.dsf-centered-text {
    text-align: center;
}
/* Hide the desktop line-break on mobile */
.dsf-linebreak-desktop {
    display: none;
}

@media (min-width: 768px) {
    .dsf-linebreak-desktop {
        display: inline;
    }
}

/* Button styling */
.dsf-thankyou-button-wrapper {
    text-align: center;
    margin-top: 30px;
}
.dsf-thankyou-button {
    display: inline-block;
    background: #003580;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
    text-align: center;
}

.dsf-thankyou-button:hover {
    background: #1e4d91;
}

/* IMPORTANT box styling */
.dsf-important-box {
    background: linear-gradient(135deg, #003580, #0052a5);
    color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.dsf-important-box strong {
    color: #ffeb3b;
}

.dsf-important-box ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 10px 0;
}

.dsf-important-box li {
    margin-bottom: 10px;
    color: #ffffff;
}

.dsf-important-box a {
    color: #ffeb3b;
    text-decoration: underline;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.dsf-important-box a:hover {
    color: #fff;
    text-decoration: none;
}


.dsf-modal {
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    overflow: auto;
    display: none;
}

.dsf-modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
}
.dsf-modal-instruction {
    color: #333; 
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.dsf-update-close {
    float: right;
    font-size: 24px;
    cursor: pointer;
}


/* Update Page */

.dsf-update-code-form {
    max-width: 700px;
    margin: 30px auto;
    text-align: center;
}

.dsf-update-code-form label {
    display: block;
    font-size: 20px;
    color: #003580;
    margin-bottom: 15px;
    font-weight: bold;
}

.dsf-code-input {
    width: 100%;
    max-width: 500px;
    font-size: 24px;
    padding: 15px 20px;
    border: 2px solid #003580;
    border-radius: 5px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.dsf-code-submit {
    background: #003580;
    color: #fff;
    font-size: 18px;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dsf-code-submit:hover {
    background: #00214f;
}

.dsf-update-success,
.dsf-update-error {
    max-width: 700px;
    margin: 20px auto;
    font-size: 18px;
    padding: 15px;
    border-radius: 5px;
}

.dsf-update-success {
    background: #e6f9f0;
    color: #1c7c4c;
    border: 2px solid #1c7c4c;
}

.dsf-update-error {
    background: #fbeaea;
    color: #a33;
    border: 2px solid #a33;
}


/* logo */
.dsf-update-logo {
    text-align: center;
    margin-bottom: 20px;
}

.dsf-update-logo img {
    max-height: 50px;
    height: 50%;
    width: auto;
    object-fit: contain;
}

.dsf-back-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #003580;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.dsf-back-btn:hover {
    background-color: #00265c;
}
