.oddw-driver-application-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.oddw-driver-application-form h3 {
    margin-top: 0;
    color: #333;
    text-align: center;
}

/* Driver Verification Section */
.oddw-driver-verification-section {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 25px;
    margin: 20px 0;
}

.oddw-driver-verification-section h3 {
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #0073aa;
    color: #0073aa;
    font-size: 18px;
}

/* Pending Status Notice */
.oddw-pending-status-notice {
    background: linear-gradient(135deg, #fff8e5 0%, #fffbf0 100%);
    border: 2px solid #ffc107;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.oddw-pending-badge-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.oddw-pending-badge {
    display: inline-block;
    background: #ffc107;
    color: #856404;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.oddw-pending-message {
    margin: 0;
    color: #856404;
    font-size: 14px;
    line-height: 1.5;
}

/* Form Groups */
.oddw-form-group {
    margin-bottom: 15px;
}

.oddw-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.oddw-form-group label .required {
    color: #e74c3c;
}

.oddw-form-group input[type="text"],
.oddw-form-group input[type="email"],
.oddw-form-group input[type="tel"],
.oddw-form-group input[type="number"],
.oddw-form-group select,
.oddw-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-family: inherit;
}

.oddw-form-group input[type="text"]:focus,
.oddw-form-group input[type="email"]:focus,
.oddw-form-group input[type="tel"]:focus,
.oddw-form-group input[type="number"]:focus,
.oddw-form-group select:focus,
.oddw-form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
    background-color: #fafafa;
}

/* WooCommerce Form Fields */
.form-row-wide {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.form-row-wide .form-group label {
    width: 100%;
}

.form-row-wide input,
.form-row-wide select,
.form-row-wide textarea {
    width: 100%;
}

/* File Upload Field */
.form-row-wide input[type="file"] {
    padding: 12px;
    border: 2px dashed #0073aa;
    border-radius: 6px;
    background-color: #f8fbff;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
    padding: 20px;
    text-align: center;
}

.form-row-wide input[type="file"]:hover {
    background-color: #f0f7ff;
    border-color: #005a87;
}

.form-row-wide input[type="file"]:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

/* Driver Picture Preview */
.oddw-driver-picture-preview {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.oddw-driver-picture-preview .oddw-picture-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 0;
    position: relative;
}

.oddw-driver-picture-preview .oddw-picture-link img {
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    height: auto;
    display: block;
}

.oddw-driver-picture-preview .oddw-picture-link img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.oddw-button-remove-picture {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #e74c3c;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.oddw-button-remove-picture:hover {
    background: #c0392b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.oddw-button-remove-picture:active {
    transform: scale(0.95);
}

/* Description Text */
.description {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Messages */
.required {
    color: #e74c3c;
    font-weight: bold;
}

.oddw-submit-btn {
    background: #0073aa;
    color: #fff;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.oddw-submit-btn:hover {
    background: #005a87;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.oddw-submit-btn:active {
    transform: scale(0.98);
}

.oddw-success-message {
    background: #d4edda;
    color: #155724;
    padding: 12px 15px;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

.oddw-error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 15px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* WooCommerce Integration Styles */
.woocommerce-form-row {
    margin-bottom: 15px;
}

.woocommerce-form-row.form-row-wide {
    width: 100%;
}

.woocommerce-form-row label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.woocommerce-form-row input[type="text"],
.woocommerce-form-row input[type="email"],
.woocommerce-form-row input[type="tel"],
.woocommerce-form-row input[type="file"],
.woocommerce-form-row select,
.woocommerce-form-row textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.woocommerce-form-row input[type="text"]:focus,
.woocommerce-form-row input[type="email"]:focus,
.woocommerce-form-row input[type="tel"]:focus,
.woocommerce-form-row select:focus,
.woocommerce-form-row textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.woocommerce-form-row .required {
    color: #e74c3c;
}

/* Textarea specific styles */
textarea {
    resize: vertical;
    min-height: 100px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .oddw-driver-verification-section {
        padding: 15px;
    }

    .oddw-pending-status-notice {
        padding: 12px;
    }

    .oddw-pending-badge {
        font-size: 13px;
        padding: 6px 12px;
    }

    .oddw-driver-picture-preview .oddw-picture-link img {
        max-width: 100px;
    }

    .oddw-button-remove-picture {
        font-size: 12px;
        padding: 6px 10px;
    }

    .oddw-submit-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
}

    border-color: #005a87;
}

.oddw-form-group input[type="file"]:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.oddw-file-info {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

.oddw-file-error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
}

.oddw-file-success {
    color: #27ae60;
    font-size: 12px;
    margin-top: 5px;
}

/* Pending Status Badge Styling */
.oddw-pending-status-notice {
    background-color: #fff8e5;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.oddw-pending-badge {
    display: inline-block;
    background-color: #ffc107;
    color: #333;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.oddw-pending-message {
    margin: 0;
    color: #856404;
    font-size: 14px;
}

/* Edit Account Form Field Styling */
.oddw-form-field,
.oddw-select-field,
.oddw-textarea-field {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.oddw-form-field:focus,
.oddw-select-field:focus,
.oddw-textarea-field:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.oddw-file-input {
    display: block;
    width: 100%;
    padding: 10px;
    border: 2px dashed #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-size: 14px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.oddw-file-input:hover {
    background-color: #f0f7ff;
    border-color: #0073aa;
}

.oddw-file-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}
