/* DB Smart Contact Styles
 * Combined admin and frontend styles
 */
.dbsc-honeypot-field {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
}
/* Math CAPTCHA styling */
.dbsc-math-captcha {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.dbsc-math-prompt {
    display: block; /* Default to block display */
    font-weight: normal;
    margin-bottom: 5px;
    color: #555;
}

/* Inline display option for the prompt and question */
.dbsc-math-inline .dbsc-math-prompt,
.dbsc-math-inline .dbsc-math-question {
    display: inline;
}

.dbsc-math-question {
    font-weight: bold;
    font-size: 1.1em;
    color: #333;
    display: inline-block; /* Default display */
    margin-left: 5px;
}

.dbsc-math-captcha input[type="text"] {
    width: 100px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 8px;
}

/* Elementor styling integration for math CAPTCHA */
.elementor-widget-db_smart_contact_form .dbsc-math-captcha {
    background-color: var(--e-global-color-background, #f9f9f9);
    border-color: var(--e-global-color-border, #e0e0e0);
    border-radius: var(--e-global-border-radius, 4px);
}

.elementor-widget-db_smart_contact_form .dbsc-math-prompt {
    color: var(--e-global-color-text, #555);
    font-size: var(--e-global-typography-text-font-size, 14px);
    font-weight: var(--e-global-typography-text-font-weight, normal);
    font-family: var(--e-global-typography-text-font-family, inherit);
}

.elementor-widget-db_smart_contact_form .dbsc-math-question {
    color: var(--e-global-color-text, #333);
    font-size: var(--e-global-typography-text-font-size, 1.1em);
    font-weight: var(--e-global-typography-text-font-weight, bold);
    font-family: var(--e-global-typography-text-font-family, inherit);
}
/* Form wrapper with background */
.dbsc-form-wrapper {
    padding: 20px;
    border-radius: 5px;
    background-color: transparent;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Telephone field styling */
.dbsc-tel-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
}

.dbsc-tel-select-wrapper {
    position: relative;
    flex-shrink: 4;
}

.dbsc-tel-container .dbsc-tel-code {
    width: 100% !important;
    height: 40px;
    padding: 0 5px 0 42px !important;
}

/* Submit button alignment */
.dbsc-form-submit {
    display: flex;
    justify-content: flex-start; /* Default alignment */
    margin-top: 15px;
}
/* Common styles */
.dbsc-field-notes {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Icon styling - shared between frontend and admin */
.dbsc-title-icon,
.dbsc-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.dbsc-title-icon svg,
.dbsc-success-icon svg {
    width: 1em;
    height: 1em;
}

/* ===== FRONTEND STYLES ===== */
.dbsc-form-container {
    max-width: 100%;
    margin-bottom: 20px;
}

.dbsc-form {
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Form title and description styling */
.dbsc-form-title {
/*    display: flex;*/
    align-items: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.dbsc-form-title.text-align-center {
    justify-content: center;
}

.dbsc-form-title.text-align-right {
    justify-content: flex-end;
}

.dbsc-form-description {
    margin-bottom: 20px;
}

/* Form fields */
.dbsc-form-fields {
    margin-bottom: 20px;
}

.dbsc-form-field {
    margin-bottom: 15px;
}

.dbsc-form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.dbsc-required {
    color: #e53935;
    margin-left: 3px;
}

.dbsc-form-field input[type="text"],
.dbsc-form-field input[type="email"],
.dbsc-form-field input[type="tel"],
.dbsc-form-field input[type="url"],
.dbsc-form-field textarea,
.dbsc-form-field select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.dbsc-form-field textarea {
    min-height: 100px;
    resize: vertical;
}

/* File upload field styles */
.dbsc-form-field input[type="file"] {
    display: block;
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.dbsc-form-field input[type="file"]:hover {
    background-color: #f0f0f0;
}

.dbsc-field-type-file .dbsc-field-notes {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* File error message */
.dbsc-file-error {
    color: #d63638;
    font-size: 13px;
    margin-top: 5px;
    padding: 5px 10px;
    background-color: rgba(214, 54, 56, 0.1);
    border-left: 3px solid #d63638;
}

/* Checkboxes and Radio buttons */
.dbsc-checkbox-label,
.dbsc-radio-label {
    display: block;
    margin-bottom: 5px;
    font-weight: normal;
    cursor: pointer;
}

.dbsc-checkbox-label input,
.dbsc-radio-label input {
    margin-right: 5px;
}

.dbsc-field-type-checkbox fieldset,
.dbsc-field-type-radio fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.dbsc-form-field fieldset {
    padding: 0;
    margin: 0;
    border: none;
}

.dbsc-field-type-checkbox legend,
.dbsc-field-type-radio legend,
.dbsc-form-field legend {
    font-weight: bold;
    margin-bottom: 10px;
    padding: 0;
    width: 100%;
}

/* Telephone field with flags */
.dbsc-tel-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
}

.dbsc-tel-select-wrapper {
    position: relative;
    flex-shrink: 4;
}

.dbsc-selected-flag {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.dbsc-tel-code {
    width: 100% !important;
    height: 40px;
    padding: 0 5px 0 42px !important;
}

.dbsc-tel-container input[type="tel"] {
    flex-grow: 1;
    width: 100%;
    height: 40px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.dbsc-tel-container input[type="tel"].full-width {
    width: 100%;
}

/* reCAPTCHA container */
.dbsc-recaptcha-container {
    margin-bottom: 15px;
}

/* Submit button */
.dbsc-submit-btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.dbsc-submit-btn:hover {
    background: #0066cc;
}

/* Messages - Success and Error */
.dbsc-form-messages {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.dbsc-message-success,
.dbsc-message-error {
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
}

.dbsc-message-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 20px;
    margin: 20px 0;
    font-size: 16px;
}

.dbsc-message-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.dbsc-message-success p,
.dbsc-message-error p {
    margin: 0;
    display: flex;
    align-items: center;
}

/* Message alignment classes */
.dbsc-message-success.text-align-center p,
.dbsc-message-error.text-align-center p {
    justify-content: center;
}

.dbsc-message-success.text-align-right p,
.dbsc-message-error.text-align-right p {
    justify-content: flex-end;
}

/* Success icon */
.dbsc-success-icon {
    margin-right: 8px;
    color: #4CAF50;
}

/* ===== ADMIN STYLES ===== */
/* Dashboard */
.wp-admin .dbsc-dashboard-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.wp-admin .dbsc-card {
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
    padding: 20px;
    flex: 1 1 300px;
}

.wp-admin .dbsc-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}

.wp-admin .dbsc-stat-item {
    text-align: center;
}

.wp-admin .dbsc-stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #1e88e5;
}

.wp-admin .dbsc-stat-label {
    display: block;
    font-size: 14px;
    color: #666;
}

.wp-admin .dbsc-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

/* Form Editor */
.wp-admin .dbsc-form-editor-container {
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
    padding: 20px;
    margin-top: 20px;
}

.wp-admin .dbsc-form-name input[type="text"] {
    width: 100%;
    font-size: 18px;
    padding: 8px;
}

/* Tabs */
.wp-admin .dbsc-tabs {
    margin-top: 20px;
}

.wp-admin .dbsc-tab-nav {
    display: flex;
    border-bottom: 1px solid #ccd0d4;
    margin-bottom: 0;
    padding-left: 10px;
}

.wp-admin .dbsc-tab-btn {
    padding: 10px 20px;
    margin-right: 5px;
    margin-bottom: -1px;
    background: #f1f1f1;
    border: 1px solid #ccd0d4;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.wp-admin .dbsc-tab-btn:hover {
    background: #f8f8f8;
}

.wp-admin .dbsc-tab-btn.active {
    background: #fff;
    border-bottom: 1px solid #fff;
    font-weight: 600;
    color: #0073aa;
}

.wp-admin .dbsc-tab-content {
    display: none;
    background: #fff;
    border: 1px solid #ccd0d4;
    border-top: none;
    padding: 20px;
}

.wp-admin .dbsc-tab-content.active {
    display: block;
}

/* Field Buttons */
.wp-admin .dbsc-field-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.wp-admin .dbsc-form-preview {
    background: #f9f9f9;
    border: 1px solid #ccd0d4;
    padding: 20px;
    margin-top: 20px;
}

/* Field Items */
.wp-admin .dbsc-field-item {
    background: #fff;
    border: 1px solid #ccd0d4;
    margin-bottom: 10px;
}

.wp-admin .dbsc-field-header {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f7f7f7;
    cursor: move;
}

.wp-admin .dbsc-field-type {
    background: #e0e0e0;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 10px;
}

.wp-admin .dbsc-field-label {
    flex-grow: 1;
    font-weight: bold;
}

.wp-admin .dbsc-field-actions button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
    color: #555;
}

/* Field Settings */
.wp-admin .dbsc-field-settings {
    padding: 20px;
    border-top: 1px solid #e5e5e5;
    background-color: #f9f9f9;
}

.wp-admin .dbsc-field-setting {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.wp-admin .dbsc-field-setting:last-child {
    margin-bottom: 0;
}

.wp-admin .dbsc-field-setting label {
    font-weight: 600;
    margin-bottom: 5px;
}

.wp-admin .dbsc-field-setting input[type="text"],
.wp-admin .dbsc-field-setting input[type="number"],
.wp-admin .dbsc-field-setting textarea,
.wp-admin .dbsc-field-setting select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Checkbox/Radio settings */
.wp-admin .dbsc-field-setting label input[type="checkbox"] {
    margin-right: 8px;
}

/* Description text */
.wp-admin .dbsc-field-setting p.description {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Option fields */
.wp-admin .dbsc-field-setting textarea.field-options {
    min-height: 100px;
}

/* Form Actions */
.wp-admin .dbsc-form-actions {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.wp-admin .dbsc-form-actions .button-primary {
    padding: 8px 20px;
    height: auto;
    font-size: 14px;
}

.wp-admin .dbsc-shortcode-info {
    display: flex;
    align-items: center;
}

.wp-admin .dbsc-shortcode-info span {
    margin-right: 10px;
    font-weight: 600;
}

.wp-admin .dbsc-shortcode-info input {
    background: #f1f1f1;
    border: 1px solid #ddd;
    padding: 5px 10px;
    font-family: monospace;
    width: 220px;
}

/* Submissions Table */
.wp-admin .dbsc-submissions .wp-list-table {
    margin-top: 15px;
}

.wp-admin .dbsc-submissions .column-id {
    width: 60px;
}

.wp-admin .dbsc-submissions .column-form {
    width: 15%;
}

.wp-admin .dbsc-submissions .column-date {
    width: 15%;
}

.wp-admin .dbsc-submissions .column-actions {
    width: 10%;
}

.wp-admin .dbsc-submissions .tablenav {
    margin: 6px 0 10px;
}

.wp-admin .dbsc-submission-details {
    margin-top: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Form List Table */
.wp-admin .column-id {
    width: 60px;
}

.wp-admin .column-shortcode {
    width: 220px;
}

.wp-admin .column-submissions {
    width: 100px;
    text-align: center;
}

.wp-admin .column-date {
    width: 120px;
}

.wp-admin .column-actions {
    width: 100px;
}

.wp-admin .dbsc-shortcode-input {
    width: 210px;
    font-family: monospace;
    font-size: 12px;
    padding: 4px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
}

/* Action Icons */
.wp-admin .dbsc-action-icons {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.wp-admin .dbsc-action-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 1;
    text-decoration: none;
    color: #666;
    transition: color 0.2s ease;
}

.wp-admin .dbsc-action-icon:hover {
    color: #0073aa;
}

.wp-admin .dbsc-action-icon .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.wp-admin .dbsc-edit-icon:hover {
    color: #0073aa;
}

.wp-admin .dbsc-duplicate-form:hover {
    color: #28a745;
}

.wp-admin .dbsc-delete-form:hover {
    color: #dc3545;
}

/* Loading animation */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.wp-admin .rotating {
    animation: rotate 1.5s linear infinite;
}

/* Settings Page */
.dbsc-settings-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 20px 0;
}

.dbsc-settings-section {
    background: #fff;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.dbsc-settings-section h2 {
    margin-top: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    font-weight: 600;
    color: #23282d;
}

.dbsc-setting-field {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f5f5f5;
}

.dbsc-setting-field:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.dbsc-setting-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #23282d;
}

.dbsc-setting-field input[type="text"],
.dbsc-setting-field input[type="password"],
.dbsc-setting-field input[type="email"],
.dbsc-setting-field select {
    width: 100%;
    max-width: 400px;
}

.dbsc-setting-field textarea {
    width: 100%;
    min-height: 150px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.dbsc-setting-field p.description {
    margin-top: 8px;
    color: #666;
    font-style: italic;
}

.dbsc-setting-field label input[type="checkbox"] {
    margin-right: 8px;
}

/* Form Settings */
.wp-admin .dbsc-form-settings {
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.wp-admin .dbsc-setting-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.wp-admin .dbsc-setting-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.wp-admin .dbsc-setting-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #23282d;
}

.wp-admin .dbsc-setting-group input[type="text"],
.wp-admin .dbsc-setting-group input[type="url"],
.wp-admin .dbsc-setting-group textarea {
    width: 100%;
    max-width: 500px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wp-admin .dbsc-setting-group textarea {
    min-height: 100px;
}

.wp-admin .dbsc-setting-group p.description {
    margin-top: 8px;
    color: #666;
    font-style: italic;
}

.wp-admin .dbsc-setting-group input[type="checkbox"] {
    margin-right: 8px;
}

.wp-admin .dbsc-setting-group label[for="dbsc-use-captcha"] {
    display: flex;
    align-items: center;
    font-weight: normal;
}

.wp-admin .dbsc-setting-group label[for="dbsc-use-captcha"] input {
    margin-top: 0;
}

/* Custom CSS Editor */
.wp-admin .dbsc-custom-css-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}

.wp-admin .dbsc-custom-css-editor {
    flex: 3;
    min-width: 300px;
}

.wp-admin .dbsc-css-selectors-reference {
    flex: 2;
    min-width: 250px;
    background: #f8f8f8;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    align-self: flex-start;
    position: sticky;
    top: 50px;
    max-height: 600px;
    overflow-y: auto;
}

.wp-admin #dbsc-form-custom-css {
    font-family: 'Courier New', monospace;
    width: 100%;
    min-height: 400px;
    tab-size: 2;
    margin-top: 15px;
    resize: vertical;
}

.wp-admin .dbsc-css-selectors-reference h4 {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.wp-admin .dbsc-css-selectors-reference ul {
    margin: 0;
}

.wp-admin .dbsc-css-selectors-reference li {
    margin-bottom: 10px;
    line-height: 1.4;
}

.wp-admin .dbsc-css-selectors-reference code {
    background: #eee;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
}

/* Template Selection Grid */
.wp-admin .dbsc-templates-container {
    background: #fff;
    border: 1px solid #ccd0d4;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
    padding: 20px;
    margin-top: 20px;
}

.wp-admin .dbsc-templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.wp-admin .dbsc-template-item {
    display: block;
    text-decoration: none;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
    text-align: center;
    color: #444;
}

.wp-admin .dbsc-template-item:hover {
    border-color: #0073aa;
    box-shadow: 0 0 10px rgba(0,115,170,0.15);
    color: #0073aa;
}

.wp-admin .dbsc-template-item .dashicons {
    font-size: 32px;
    height: 32px;
    width: 32px;
    margin-bottom: 10px;
}

.wp-admin .dbsc-template-item h3 {
    margin: 10px 0;
}

.wp-admin .dbsc-template-item p {
    margin: 0;
    color: #666;
    font-size: 13px;
}

/* Elementor Integration */
.elementor-widget-db_smart_contact_form .dbsc-form-field input[type="text"],
.elementor-widget-db_smart_contact_form .dbsc-form-field input[type="email"],
.elementor-widget-db_smart_contact_form .dbsc-form-field input[type="tel"],
.elementor-widget-db_smart_contact_form .dbsc-form-field input[type="url"],
.elementor-widget-db_smart_contact_form .dbsc-form-field textarea,
.elementor-widget-db_smart_contact_form .dbsc-form-field select {
    border: 1px solid #ddd;
    box-sizing: border-box;
}

.elementor-widget-db_smart_contact_form .dbsc-form-field input,
.elementor-widget-db_smart_contact_form .dbsc-form-field textarea,
.elementor-widget-db_smart_contact_form .dbsc-form-field select {
    border-style: solid;
    border-width: 1px;
}

/* Elementor Editor Preview */
.elementor-editor-active .dbsc-editor-preview-messages {
    border-top: 1px dashed #ccc;
    padding-top: 15px;
    margin-top: 25px;
}

.elementor-editor-active .dbsc-editor-preview-messages .dbsc-form-messages {
    opacity: 0.9;
}

.elementor-editor-active .dbsc-form-messages.dbsc-message-success p,
.elementor-editor-active .dbsc-form-messages.dbsc-message-error p {
    display: flex;
    align-items: center;
}

.elementor-editor-active .dbsc-form-messages.text-align-center p {
    justify-content: center;
}

.elementor-editor-active .dbsc-form-messages.text-align-right p {
    justify-content: flex-end;
}

/* Responsive Styles */
@media screen and (min-width: 783px) {
    .wp-admin .dbsc-field-settings {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        grid-gap: 15px;
    }
    
    .wp-admin .dbsc-field-setting {
        margin-bottom: 0;
    }
    
    /* Full width for certain settings */
    .wp-admin .dbsc-field-setting.full-width {
        grid-column: 1 / -1;
    }
    
    .dbsc-email-settings {
        display: grid;
        grid-template-columns: 150px 1fr;
        gap: 15px;
        align-items: start;
    }
    
    .dbsc-email-settings .dbsc-setting-field {
        display: contents;
    }
    
    .dbsc-email-settings .dbsc-setting-field p.description {
        grid-column: 2;
    }
    
    .dbsc-submit-container {
        margin-top: 20px;
    }
}

@media screen and (max-width: 782px) {
    .wp-admin .dbsc-custom-css-container {
        flex-direction: column;
    }
    
    .wp-admin .dbsc-css-selectors-reference {
        position: static;
        max-height: none;
    }
}

@media screen and (max-width: 480px) {
    .dbsc-tel-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dbsc-tel-select-wrapper {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .dbsc-tel-container input[type="tel"] {
        width: 100%;
    }
}