/* One Six Chat Widget — styles */

#oscw-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#oscw-toggle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #221E63;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(34, 30, 99, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#oscw-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(34, 30, 99, 0.4);
}

#oscw-panel {
    position: absolute;
    right: 0;
    bottom: 74px;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: oscw-fade-in 0.18s ease;
}

@keyframes oscw-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

#oscw-header {
    background: #221E63;
    color: #ffffff;
    padding: 16px 18px;
    font-size: 16px;
    font-weight: 600;
}

#oscw-body {
    padding: 16px 18px 18px;
}

.oscw-intro {
    margin: 0 0 14px;
    font-size: 13.5px;
    line-height: 1.45;
    color: #444444;
}

#oscw-faqs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.oscw-faq-btn {
    font-family: inherit;
    font-size: 12px;
    line-height: 1.3;
    background: #f1f1f6;
    color: #221E63;
    border: 1px solid #e0e0ea;
    border-radius: 999px;
    padding: 6px 11px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.oscw-faq-btn:hover {
    background: #e6e5f5;
}

.oscw-faq-btn-active {
    background: #221E63;
    color: #ffffff;
    border-color: #221E63;
}

#oscw-faq-answer {
    font-size: 13px;
    line-height: 1.45;
    background: #f6f6fb;
    border-left: 3px solid #221E63;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 14px;
    color: #2c2c38;
}

#oscw-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
    border-top: 1px solid #ececf2;
}

#oscw-form::before {
    content: "Still have a question?";
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #8a8a99;
    margin: 10px 0 2px;
}

.oscw-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12.5px;
    color: #333333;
}

.oscw-field input,
.oscw-field textarea {
    font-family: inherit;
    font-size: 13.5px;
    padding: 8px 10px;
    border: 1px solid #d7d7de;
    border-radius: 8px;
    resize: vertical;
    outline: none;
    transition: border-color 0.15s ease;
}

.oscw-field input:focus,
.oscw-field textarea:focus {
    border-color: #221E63;
}

#oscw-submit {
    margin-top: 4px;
    background: #221E63;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

#oscw-submit:hover {
    opacity: 0.9;
}

#oscw-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.oscw-status {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.4;
    padding: 10px 12px;
    border-radius: 8px;
    background: #eef6ee;
    color: #235c23;
}

.oscw-status-error {
    background: #fbeaea;
    color: #7a2323;
}

@media (max-width: 420px) {
    #oscw-widget {
        right: 14px;
        bottom: 14px;
    }
    #oscw-panel {
        width: calc(100vw - 28px);
    }
}
