/* --- Contact Support Styling --- */
.opsim-contact-support-container {
    width: 100%;
    margin: 20px 0;
    font-family: 'Inter', system-ui, sans-serif;
}

.opsim-contact-support-wrapper {
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--opsim-brand, #355872); /* Brand Color */
    border-radius: 12px;
    padding: 24px;
    background: #fff;
}

.contact-header {
    text-align: center;
    margin-bottom: 20px;
}

.contact-header h3 {
    color: var(--opsim-brand, #355872);
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    text-transform: uppercase;
}

.contact-header p {
    color: #6B7280;
    font-size: 0.9rem;
    margin: 0;
}

.contact-support-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Individual Input Group Box */
.contact-input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    height: 48px;
    transition: border-color 0.2s;
}

.contact-input-group.textarea-group {
    height: auto;
    min-height: 120px;
}

.contact-input-group:focus-within {
    border-color: var(--opsim-brand, #355872);
}

/* Icon Section */
.contact-input-group .icon-section {
    width: 48px;
    background: #f9fafb;
    border-right: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-input-group .icon-section svg {
    width: 18px;
    height: 18px;
    stroke: var(--opsim-brand, #355872);
    fill: none;
}

/* Flag Section (Compact) */
.contact-input-group.phone-input-group .flag-section {
    width: 100px;
    gap: 8px;
    padding: 0 10px;
}

.contact-input-group .country-code {
    font-weight: 800;
    font-size: 0.9rem;
    color: #111827;
}

/* Inputs & Textarea */
.contact-input-group input,
.contact-input-group textarea {
    flex: 1;
    border: none !important;
    background: transparent !important;
    padding: 0 15px !important;
    font-size: 16px !important;
    color: #111827 !important;
    outline: none !important;
    height: 100% !important;
    margin: 0 !important;
    font-family: inherit;
}

.contact-input-group textarea {
    padding: 15px !important;
    resize: none;
    min-height: 120px;
}

/* Submit Button */
.contact-support-btn {
    background-color: var(--opsim-brand, #355872);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    width: 100%;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 8px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.contact-support-btn:hover {
    opacity: 0.95;
}

/* Thank You State */
.contact-thank-you-state {
    text-align: center;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.thank-you-icon {
    margin-bottom: 5px;
}

.contact-thank-you-state h3 {
    color: var(--opsim-brand, #355872);
    font-size: 1.5rem;
    font-weight: 900;
    margin: 0;
}

.contact-thank-you-state p {
    color: #4B5563;
    font-size: 1rem;
    max-width: 400px;
    margin: 0;
    line-height: 1.6;
}

.form-message {
    font-size: 0.85rem;
    text-align: center;
    font-weight: 600;
    margin-top: 10px;
}
.form-message.error { color: #dc2626; }

/* Responsive */
@media (max-width: 640px) {
    .opsim-contact-support-wrapper {
        padding: 20px;
    }
}
