/* TDR Registration Page Styles */

.tdr-register-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    padding: 40px 20px;
}

.tdr-register-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 540px;
    padding: 48px 40px;
}

.tdr-register-logo {
    text-align: center;
    margin-bottom: 32px;
}

.tdr-register-logo img {
    max-width: 220px;
    height: auto;
}

.tdr-register-heading {
    text-align: center;
    margin-bottom: 8px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.tdr-register-subheading {
    text-align: center;
    margin-bottom: 32px;
    font-size: 0.95rem;
    color: #888;
}

/* Form fields */
.tdr-register-card .field {
    margin-bottom: 20px;
}

.tdr-register-card .label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.tdr-register-card .input {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-family: 'Urbanist', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tdr-register-card .input:focus {
    border-color: #5e72e4;
    box-shadow: 0 0 0 3px rgba(94, 114, 228, 0.15);
    outline: none;
}

.tdr-register-card .input::placeholder {
    color: #bbb;
}

/* Name fields row */
.tdr-register-name-row {
    display: flex;
    gap: 16px;
}

.tdr-register-name-row .field {
    flex: 1;
}

/* Section label for grouped fields */
.tdr-register-section-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 12px;
    margin-top: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}

/* Address row (city / state / zip) */
.tdr-register-address-row {
    display: flex;
    gap: 12px;
}

.tdr-register-address-row .tdr-field-city {
    flex: 2;
}

.tdr-register-address-row .tdr-field-state {
    flex: 1;
}

.tdr-register-address-row .tdr-field-zip {
    flex: 1;
}

.tdr-register-card select.input {
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-family: 'Urbanist', sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fff;
    width: 100%;
    appearance: auto;
}

.tdr-register-card select.input:focus {
    border-color: #5e72e4;
    box-shadow: 0 0 0 3px rgba(94, 114, 228, 0.15);
    outline: none;
}

/* Submit button */
.tdr-register-submit {
    width: 100%;
    background-color: #5e72e4;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Urbanist', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s, box-shadow 0.2s;
    margin-top: 8px;
}

.tdr-register-submit:hover {
    background-color: #4a5cc5;
    box-shadow: 0 4px 12px rgba(94, 114, 228, 0.3);
}

.tdr-register-submit:active {
    background-color: #3e4fad;
}

/* Optional label helper */
.tdr-optional {
    font-weight: 400;
    color: #aaa;
    font-size: 0.8rem;
    margin-left: 4px;
}

/* Messages */
.tdr-register-message {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.tdr-register-message.is-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.tdr-register-message.is-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Login link */
.tdr-register-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: #888;
}

.tdr-register-footer a {
    color: #5e72e4;
    text-decoration: none;
    font-weight: 600;
}

.tdr-register-footer a:hover {
    text-decoration: underline;
}

/* Password strength indicator */
.tdr-password-strength {
    height: 4px;
    border-radius: 2px;
    margin-top: 8px;
    background-color: #e9ecef;
    overflow: hidden;
}

.tdr-password-strength-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s, background-color 0.3s;
    width: 0%;
}

.tdr-password-hint {
    font-size: 0.78rem;
    color: #aaa;
    margin-top: 4px;
}

/* Apply banner on login page */
.tdr-apply-banner {
    background: linear-gradient(135deg, #5e72e4 0%, #7b8cee 100%);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tdr-apply-banner span {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.tdr-apply-banner a {
    display: inline-block;
    background: #fff;
    color: #5e72e4;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.2s, box-shadow 0.2s;
}

.tdr-apply-banner a:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Login options row (remember me + forgot password) */
.tdr-login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tdr-remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #666;
    cursor: pointer;
}

.tdr-remember-me input[type="checkbox"] {
    accent-color: #5e72e4;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.tdr-forgot-link {
    font-size: 0.85rem;
    color: #5e72e4;
    text-decoration: none;
    font-weight: 500;
}

.tdr-forgot-link:hover {
    text-decoration: underline;
}

/* Success state */
.tdr-register-success-icon {
    text-align: center;
    margin-bottom: 20px;
    font-size: 3rem;
    line-height: 1;
}

/* Mobile responsive */
@media screen and (max-width: 520px) {
    .tdr-register-card {
        padding: 32px 24px;
    }

    .tdr-register-name-row {
        flex-direction: column;
        gap: 0;
    }

    .tdr-register-address-row {
        flex-direction: column;
        gap: 0;
    }

    .tdr-register-logo img {
        max-width: 180px;
    }
}
