body {
    background-color: #F0F5FF;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Dropdown arrow styling for selects */
.position-relative {
    position: relative;
}

.dropdown-wrapper {
    position: relative;
    width: 100%;
}

.dropdown-wrapper .dropdown-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #888;
    font-size: 1.2em;
    z-index: 2;
    line-height: 1;
    height: 1em;
    display: flex;
    align-items: center;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 2000px;
    margin: 0 auto;
}

.header-spacer,
.header-actions {
    flex: 0 0 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.header-section {
    padding: 10px 16px 10px;
}

.header-section h1 {
    flex: 1;
    text-align: center;
    font-size: 2.8rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.header-section p {
    text-align: center;
    color: #737373;
    font-size: 0.95rem;
    margin-bottom: 5px;
    margin-top: 4px;
}

.how-to-use {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    margin-top: 1px;
}

.how-to-use i {
    font-size: 28px;
    line-height: 1;
}

.contact-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 6px 14px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.contact-icon {
    width: 32px;
    height: 32px;
    background: #cfe2ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    font-size: 1rem;
}

.contact-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 18px 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    height: 100%;
}

.info-card h5 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 22px;
    font-size: 1.15rem;
}

.info-card .card-icon {
    width: 32px;
    height: 32px;
    background: #e3f2fd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e88e5;
}

.form-label {
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-select, .form-control {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 10px 14px;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.form-select:disabled,
.form-control:disabled {
    color: #9ca3af;
}

.form-select:focus,
.form-control:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    outline: none;
}

.form-select.is-invalid,
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-select.is-invalid:focus,
.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.edit-btn {
    background: white;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 30px;
    font-weight: 500;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 25px auto;
    cursor: pointer;
}

.edit-btn:hover {
    background: #f8f9fa;
}

.data-protection-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    height: 100%;
}

.data-protection-card h4 {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.data-protection-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 22px;
    font-size: 0.95rem;
}

.compliance-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.badge-item {
    width: 65px;
    height: 65px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-weight: 700;
    font-size: 0.65rem;
    color: #2563eb;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px 55px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-card h4 {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.price {
    font-size: 4.5rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0;
    line-height: 1;
}

.price-label {
    color: #2563eb;
    font-size: 1rem;
    margin-top: 5px;
}

.footer {
    text-align: center;
    padding: 0px 0;
    color: #737373;
    font-size: 0.85rem;
}

.footer a {
    color: #4a90e2;
    text-decoration: none;
}

.nav-home {
    display: flex;
    align-items: center;
    margin-left: 6px;
}

.nav-home a {
    color: #6b7280;
    font-size: 2.2rem;
    margin-bottom: 10px;
    margin-left: 15px;
}

.nav-home a:hover {
    color: #4b5563;
}

@media (max-width: 576px) {
    .header-section h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }
}

hr {
    border: 0;
    border-top: 1px solid #d1d5db;
    margin: 25px 0;
}
.select2-container--default .select2-selection--single {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 10px 14px;
    height: auto;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1a1a1a;
    font-weight: 400;
    line-height: normal;
    padding: 0;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #9ca3af;
    font-weight: 400;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px;
}
.select2-dropdown {
    border: 1px solid #d1d5db;
    border-radius: 10px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #e3f2fd;
    color: #1a1a1a;
}

#connectBtn,
.edit-btn {
    margin: 0 !important;
    padding: 10px 22px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    min-width: 160px;
    text-align: center;
}

#connectBtn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.edit-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.action-row {
    display: flex;
    align-items: center !important;
    min-height: 42px;
    margin-bottom: 16px;
}

.session-label {
    margin-right: 4px;
    font-size: 0.9rem;
}

.phone-label {
    margin-right: 4px;
    font-size: 0.9rem;
}

#sessionIdDisplay {
    display: inline-block;
    min-width: 70px;
    text-align: center;
    overflow: visible;
    white-space: nowrap;
}

#sessionIdDisplay.empty-placeholder {
    display: inline-block;
    padding-bottom: 15px;
    font-weight: 600;
}

#termsCheckbox {
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.form-check.disabled-terms {
    opacity: 0.6;
    pointer-events: none;
}

.voice-icon-small i {
    font-size: 14px !important;
}

.voice-icon-small {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    margin: 4px 6px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e3f2fd;
    color: #1e88e5;
    cursor: pointer;
}

.voice-icon-small.disabled,
.voice-icon-small[aria-disabled="true"] {
    background: #d1d1d1 !important;
    color: #737373 !important;
    opacity: 1 !important;
    cursor: default;
    pointer-events: none;
}

#testVoiceBtn.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.header-email {
    font-size: 0.9rem;
    color: #737373;
    display: flex;
    align-items: center;
}

.header-email i {
    font-size: 1.1rem;
    color: #1e88e5;
}

.header-email-icon {
    width: 32px;
    height: 32px;
    margin-right: 7px;
    background: #cfe2ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0066cc;
    font-size: 1rem;
}

.pricing-note {
    margin-top: auto;
    align-self: flex-start;
    margin-bottom: -30px;
    text-align: left;
}

.pricing-note small {
    font-style: italic;
    font-size: 0.9rem;
    color: #737373;
}

@media (max-width: 576px) {
    .pricing-note {
        justify-content: flex-end;
    }

    .pricing-note small {
        font-size: 0.8rem;
    }
}

.price-star {
    font-size: 0.45em;
    vertical-align: top !important;
    position: relative;
    top: 0.10em;
}

@media (max-width: 576px) {
    .toastify {
        max-width: calc(100% - 32px) !important;
        left: 16px !important;
        right: 16px !important;
    }
}

@media (max-width: 768px) {
    .action-row {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }
    
    .contact-info {
        width: 100%;
        flex-wrap: wrap;
    }

    .action-row > .d-flex {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-left: 0 !important;
    }

    .action-row .form-check {
        margin-bottom: 6px;
    }

    .header-top {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .header-spacer,
    .header-actions {
        flex: 0 0 auto;
        width: auto;
        justify-content: center;
    }

    .header-section h1 {
        font-size: 2.1rem;
        text-align: center;
    }

    .header-email {
        justify-content: center;
    }
}