/* ========================================
   User Registration Form CSS
   ======================================== */

/* Main Content Wrapper - Two Column Layout */
.dt-registration-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.dt-hidden {
    display: none !important;
}

.dt-auth-toggle-link {
    display: inline-block;
    margin: 0 0 12px;
    color: #0052cc;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
}

.dt-auth-toggle-link:hover {
    text-decoration: underline;
}

.dt-login-wrapper {
    margin-top: 10px;
}

.dt-login-header {
    margin-bottom: 20px;
}

.dt-login-back-link {
    display: inline-block;
    margin-bottom: 12px;
    color: #0052cc;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
}

.dt-login-back-link:hover {
    text-decoration: underline;
}

/* Registration Wrapper */
.dt-registration-wrapper {
    margin-bottom: 40px;
    background: #ffffff;
}

/* Form Header */
.dt-form-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #001f4d;
}

.dt-form-title {
    font-family: "Finlandica Headline", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #001f4d;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.dt-form-subtitle {
    font-size: 14px;
    color: #666666;
    margin: 0;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Form Container */
.dt-registration-form {
    width: 100%;
}

.dt-form-fields-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form Row */
.dt-form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.dt-form-row-2col {
    flex-wrap: wrap;
}

.dt-form-row-2col .dt-form-group {
    flex: 1 1 calc(50% - 10px);
    min-width: 250px;
}

/* Form Group */
.dt-form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dt-form-group-full {
    flex: 1 1 100%;
}

/* Form Label */
.dt-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    letter-spacing: 1px;
}

.dt-required {
    color: #d32f2f;
    font-weight: 700;
    margin-left: 2px;
}

/* Form Controls */
.dt-form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    background-color: #ffffff;
    color: #333333;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: none;
}

.dt-form-control:focus {
    outline: none;
    border-color: #0052cc;
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
    background-color: #f9fbff;
}

.dt-form-control::placeholder {
    color: #999999;
}

.dt-form-control:read-only {
    background-color: #f5f5f5;
    color: #666666;
    cursor: not-allowed;
    border-color: #ddd;
}

/* Select Control */
.dt-select-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
    cursor: pointer;
}

.dt-select-control:focus {
    outline: none;
    border-color: #0052cc;
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

/* Helper Text */
.dt-helper-text {
    display: block;
    font-size: 12px;
    color: #666666;
    margin-top: 4px;
    font-style: italic;
}

/* Error Message */
.dt-error-message {
    display: block;
    font-size: 12px;
    color: #d32f2f;
    margin-top: 0;
    font-weight: 500;
    min-height: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    letter-spacing: 1px;
}

.dt-error-message:not(:empty) {
    margin-top: 4px;
    min-height: 16px;
    height: auto;
    opacity: 1;
    visibility: visible;
}

.dt-form-control.dt-error {
    border-color: #d32f2f;
    background-color: #ffebee;
}

.dt-form-control.dt-error:focus {
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* Fee Display */
.dt-fee-display {
    font-size: 16px;
    font-weight: 700;
    color: #0052cc;
    text-align: center;
}

/* Buttons */
.dt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    letter-spacing: 0.5px;
    width: 100%;
}

.dt-btn-primary {
    background-color: #4caf50;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.dt-btn-primary:hover {
    background-color: #45a049;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    transform: translateY(-2px);
}

.dt-btn-primary:active {
    transform: translateY(0);
}

.dt-btn-otp {
    font-size: 15px;
    padding: 16px 30px;
    letter-spacing: 1px;
}

.dt-btn-icon {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
}

/* ========================================
   Steps Information Section
   ======================================== */

.dt-steps-information-wrapper {
    padding: 0;
    border: none;
}

.dt-steps-header {
    margin-bottom: 30px;
    text-align: center;
}

.dt-steps-title {
    font-family: "Finlandica Headline", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #001f4d;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.dt-steps-subtitle {
    font-size: 14px;
    color: #666666;
    margin: 0;
    font-weight: 500;
}

/* Steps Container */
.dt-steps-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 20px;
}

/* Step Card */
.dt-step-card {
    display: flex;
    gap: 20px;
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid #4caf50;
    transition: all 0.3s ease;
}

.dt-step-card:hover {
    background: #f0f8f5;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
    transform: translateY(-3px);
}

/* Step Number */
.dt-step-number {
    flex-shrink: 0;
}

.dt-step-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #4caf50;
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
}

/* Step Content */
.dt-step-content {
    flex: 1;
}

.dt-step-title {
    font-size: 16px;
    font-weight: 700;
    color: #001f4d;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.dt-step-description {
    font-size: 13px;
    color: #666666;
    line-height: 1.6;
    margin: 0;
    letter-spacing: 1px;
}

.dt-step-hindi {
    display: block;
    font-size: 12px;
    color: #999999;
    margin-top: 8px;
    font-style: italic;
}

/* ========================================
   Responsive Design - Tablet (768px)
   ======================================== */

@media (max-width: 768px) {
    .dt-registration-main-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .dt-form-title {
        font-size: 24px;
    }

    .dt-form-subtitle {
        font-size: 13px;
    }

    .dt-form-fields-wrapper {
        gap: 18px;
    }

    .dt-form-row {
        gap: 15px;
    }

    .dt-form-row-2col .dt-form-group {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .dt-form-control {
        padding: 11px 13px;
        font-size: 13px;
    }

    .dt-select-control {
        background-position: right 10px center;
        background-size: 16px;
        padding-right: 35px;
    }

    .dt-btn {
        padding: 12px 25px;
        font-size: 13px;
    }

    .dt-steps-title {
        font-size: 24px;
    }

    .dt-steps-container {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dt-step-card {
        padding: 20px;
        gap: 15px;
    }

    .dt-step-circle {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .dt-step-title {
        font-size: 15px;
    }

    .dt-step-description {
        font-size: 12px;
    }
}

/* ========================================
   Responsive Design - Mobile (600px)
   ======================================== */

@media (max-width: 600px) {
    .dt-registration-wrapper {
        margin-bottom: 30px;
    }

    .dt-form-header {
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .dt-form-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .dt-form-subtitle {
        font-size: 12px;
    }

    .dt-form-fields-wrapper {
        gap: 16px;
    }

    .dt-form-row {
        gap: 12px;
        flex-direction: column;
    }

    .dt-form-row-2col {
        flex-direction: column;
    }

    .dt-form-row-2col .dt-form-group {
        flex: 1 1 100%;
        min-width: 100%;
    }

    .dt-form-label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .dt-form-control {
        padding: 10px 12px;
        font-size: 12px;
    }

    .dt-select-control {
        background-position: right 10px center;
        background-size: 15px;
        padding-right: 35px;
    }

    .dt-helper-text {
        font-size: 11px;
        margin-top: 3px;
    }

    .dt-error-message {
        font-size: 11px;
    }

    .dt-btn {
        padding: 11px 20px;
        font-size: 12px;
        gap: 8px;
    }

    .dt-btn-icon {
        font-size: 16px;
    }

    .dt-steps-information-wrapper {
        margin-top: 40px;
        padding-top: 30px;
    }

    .dt-steps-header {
        margin-bottom: 30px;
    }

    .dt-steps-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .dt-steps-subtitle {
        font-size: 12px;
    }

    .dt-steps-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .dt-step-card {
        padding: 18px;
        gap: 12px;
    }

    .dt-step-circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .dt-step-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .dt-step-description {
        font-size: 11px;
        line-height: 1.5;
    }

    .dt-step-hindi {
        font-size: 10px;
        margin-top: 6px;
    }
}

/* ========================================
   Responsive Design - Extra Small (480px)
   ======================================== */

@media (max-width: 480px) {
    .dt-form-title {
        font-size: 18px;
    }

    .dt-form-subtitle {
        font-size: 11px;
    }

    .dt-form-fields-wrapper {
        gap: 14px;
    }

    .dt-form-row {
        gap: 10px;
    }

    .dt-form-label {
        font-size: 12px;
        margin-bottom: 5px;
    }

    .dt-form-control {
        padding: 9px 10px;
        font-size: 11px;
    }

    .dt-helper-text {
        font-size: 10px;
        margin-top: 2px;
    }

    .dt-error-message {
        font-size: 10px;
        min-height: 14px;
    }

    .dt-btn {
        padding: 10px 15px;
        font-size: 11px;
        gap: 6px;
    }

    .dt-btn-icon {
        font-size: 14px;
    }

    .dt-steps-title {
        font-size: 18px;
    }

    .dt-steps-subtitle {
        font-size: 11px;
    }

    .dt-step-card {
        padding: 15px;
        gap: 10px;
    }

    .dt-step-circle {
        width: 38px;
        height: 38px;
        font-size: 12px;
    }

    .dt-step-title {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .dt-step-description {
        font-size: 10px;
        line-height: 1.4;
    }

    .dt-step-hindi {
        font-size: 9px;
        margin-top: 5px;
    }
}
