/**
 * WPBee Honey Leads - Theme 1: Clean & Modern
 * Clean flat design with subtle borders and smooth transitions
 */

/* Theme 1 Modal Overlay */
.wbhl-theme-1 .wbhl-modal-overlay {
    background: rgba(0, 0, 0, 0.6);
}

/* Theme 1 Modal Container */
.wbhl-theme-1 .wbhl-modal {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: none;
}

/* Theme 1 Modal Header */
.wbhl-theme-1 .wbhl-modal-header {
    border-bottom: 2px solid #f5f5f5;
    padding: 25px 25px 20px;
}

.wbhl-theme-1 .wbhl-modal-header h2 {
    color: #2c3e50;
    font-size: 26px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.wbhl-theme-1 .wbhl-modal-header p {
    color: #7f8c8d;
    font-size: 15px;
    margin: 0;
}

/* Theme 1 Modal Body */
.wbhl-theme-1 .wbhl-modal-body {
    padding: 25px;
}

/* Theme 1 Form Header */
.wbhl-theme-1 .wbhl-form-header h2 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
}

.wbhl-theme-1 .wbhl-form-header p {
    color: #7f8c8d;
    font-size: 15px;
}

/* Theme 1 Form Fields */
.wbhl-theme-1 .wbhl-form-field {
    margin-bottom: 20px;
}

.wbhl-theme-1 .wbhl-form-field label {
    color: #34495e;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.wbhl-theme-1 .wbhl-form-field label .required {
    color: #e74c3c;
}

.wbhl-theme-1 .wbhl-form-field input[type="text"],
.wbhl-theme-1 .wbhl-form-field input[type="email"],
.wbhl-theme-1 .wbhl-form-field input[type="number"],
.wbhl-theme-1 .wbhl-form-field input[type="date"],
.wbhl-theme-1 .wbhl-form-field textarea,
.wbhl-theme-1 .wbhl-form-field select {
    background: #ffffff;
    border: 2px solid #ecf0f1;
    border-radius: 6px;
    color: #2c3e50;
    font-size: 15px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.wbhl-theme-1 .wbhl-form-field input:focus,
.wbhl-theme-1 .wbhl-form-field textarea:focus,
.wbhl-theme-1 .wbhl-form-field select:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: none;
}

/* Theme 1 Radio and Checkbox */
.wbhl-theme-1 .wbhl-form-field legend {
    color: #34495e;
    font-weight: 600;
    margin-bottom: 10px;
}

.wbhl-theme-1 .wbhl-radio-label,
.wbhl-theme-1 .wbhl-checkbox-label {
    color: #5a6c7d;
    font-weight: normal;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.wbhl-theme-1 .wbhl-radio-label input,
.wbhl-theme-1 .wbhl-checkbox-label input {
    margin-right: 10px;
}

/* Theme 1 Submit Button */
.wbhl-theme-1 .wbhl-submit-btn {
    background: #3498db;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wbhl-theme-1 .wbhl-submit-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.wbhl-theme-1 .wbhl-submit-btn:active {
    transform: translateY(0);
}

.wbhl-theme-1 .wbhl-submit-btn:disabled {
    background: #bdc3c7;
    transform: none;
}

/* Theme 1 Close Button */
.wbhl-theme-1 .wbhl-modal-close {
    color: #95a5a6;
    font-size: 28px;
    transition: all 0.2s ease;
    background: #f8f9fa;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 15px;
    right: 15px;
}

.wbhl-theme-1 .wbhl-modal-close:hover {
    color: #34495e;
    background: #ecf0f1;
}

/* Theme 1 Messages */
.wbhl-theme-1 .wbhl-success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    color: #155724;
    padding: 12px 20px;
}

.wbhl-theme-1 .wbhl-error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    color: #721c24;
    padding: 12px 20px;
}

/* Theme 1 Loading State */
.wbhl-theme-1 .wbhl-form.wbhl-loading {
    opacity: 0.7;
}

/* Theme 1 Trigger Button */
.wbhl-theme-1 .wbhl-trigger-btn {
    background: #3498db;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.wbhl-theme-1 .wbhl-trigger-btn:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

/* Add a calendar icon to date inputs */
.wbhl-theme-1 .wbhl-form-field input[type="date"] {
    /* Restore native UI */
    -webkit-appearance: auto;
    appearance: auto;
    -moz-appearance: auto;
    cursor: auto;
    /* Keep default padding consistent with other inputs */
    padding-right: 15px;
}
/* Hover/focus accent for the icon (change tone slightly) */
.wbhl-theme-1 .wbhl-form-field input[type="date"]:hover,
.wbhl-theme-1 .wbhl-form-field input[type="date"]:focus {
    /* No custom icon on hover; keep native picker */
}

/* WebKit/Chromium: hide all built-in controls */
.wbhl-theme-1 .wbhl-form-field input[type="date"]::-webkit-calendar-picker-indicator {
    /* Re-enable native indicator */
    display: inline-block;
    opacity: 1;
    pointer-events: auto;
    -webkit-appearance: auto;
}

.wbhl-theme-1 .wbhl-form-field input[type="date"]::-webkit-inner-spin-button,
.wbhl-theme-1 .wbhl-form-field input[type="date"]::-webkit-clear-button {
    /* Allow default behavior */
    -webkit-appearance: auto;
}

/* Edge/IE legacy */
.wbhl-theme-1 .wbhl-form-field input[type="date"]::-ms-clear {
    /* Allow default behavior */
    display: inline-block;
}

/* Firefox legacy quirks */
.wbhl-theme-1 .wbhl-form-field input[type="date"]::-moz-focus-inner {
    /* Reset to default */
    border: initial;
    padding: initial;
}