/* Dealer Application Form */
.dealer-app-wrap {
    max-width: 860px;
    margin: 0 auto;
}
.dealer-app-title {
    text-align: center;
    margin-bottom: 24px;
    font-size: 28px;
    font-weight: 700;
}
.dealer-app-form .dealer-app-fieldset {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 20px;
}
.dealer-app-form .dealer-app-fieldset legend {
    font-weight: 600;
    font-size: 16px;
    padding: 0 8px;
}
.dealer-app-field {
    margin-bottom: 16px;
}
.dealer-app-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
}
.dealer-app-field input[type="text"],
.dealer-app-field input[type="email"],
.dealer-app-field input[type="tel"],
.dealer-app-field input[type="password"],
.dealer-app-field textarea,
.dealer-app-field select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
.dealer-app-field textarea {
    min-height: 80px;
    resize: vertical;
}
.dealer-app-field .required {
    color: #e00;
}
.dealer-app-field-desc {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}
.dealer-app-submit {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
/* .dealer-app-btn {
    background: #2c3e50 !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    cursor: pointer;
}
.dealer-app-btn:hover {
    background: #1a252f !important;
} */
.dealer-app-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #ddd;
    border-top-color: #2c3e50;
    border-radius: 50%;
    animation: dealer-spin 0.6s linear infinite;
}
@keyframes dealer-spin {
    to { transform: rotate(360deg); }
}
.dealer-app-messages {
    margin-top: 16px;
}
.dealer-app-messages .dealer-msg-success {
    color: #155724;
    background: #d4edda;
    padding: 12px 16px;
    border-radius: 4px;
    border: 1px solid #c3e6cb;
}
.dealer-app-messages .dealer-msg-error {
    color: #721c24;
    background: #f8d7da;
    padding: 12px 16px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
}

/* Status notices */
.dealer-app-notice {
    padding: 14px 18px;
    border-radius: 6px;
    border-left: 4px solid #999;
    margin-bottom: 16px;
    background: #f9f9f9;
}
.dealer-app-notice--pending {
    border-left-color: #f0ad4e;
    background: #fef9e7;
}
.dealer-app-notice--approved {
    border-left-color: #27ae60;
    background: #eafaf1;
}
.dealer-app-notice--rejected {
    border-left-color: #e74c3c;
    background: #fdedec;
}
.dealer-app-notice--needs_more_info {
    border-left-color: #3498db;
    background: #ebf5fb;
}
.dealer-app-notice--suspended {
    border-left-color: #e74c3c;
    background: #fdedec;
}

/* Terms & Conditions box */
.dealer-app-terms-box {
    height: 150px;
    overflow-y: scroll;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 14px;
    background: #fafafa;
    font-size: 13px;
    line-height: 1.6;
}
.dealer-app-terms-box h1,
.dealer-app-terms-box h2,
.dealer-app-terms-box h3,
.dealer-app-terms-box h4 {
    margin-top: 12px;
    margin-bottom: 6px;
}
.dealer-app-terms-box p {
    margin: 0 0 10px;
}
.dealer-app-terms-box ul,
.dealer-app-terms-box ol {
    margin: 0 0 10px 20px;
}
.dealer-app-agree label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
}
.dealer-app-agree input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

/* My Account details table */
.dealer-app-details-table {
    margin-top: 20px;
}
.dealer-app-details-table th {
    text-align: left;
    padding: 8px 12px;
    font-weight: 600;
    width: 180px;
}
.dealer-app-details-table td {
    padding: 8px 12px;
}

.dealer-app-title{
    text-align: center;
}

.dealer-app-wrap{
    margin: auto !important;
}

.dealer-app-submit{
    justify-content: center !important;
}

.dealer-app-field textarea{
    border-radius: 10px !important;
}