/*
 * Oracle Digital Assistant — Rinnai brand overrides
 */

.oda-chat-wrapper .oda-chat-popup-action {
    color: #161513 !important;
}

.oda-chat-wrapper .oda-chat-popup-action.oda-chat-filled {
    color: #fff !important;
}

.oda-chat-widget {
    font-family: "neue-haas-grotesk-display", Arial, sans-serif;
    background: #fcfcfc;
}

.oda-chat-wrapper .oda-chat-button {
    background-color: #cf000e;
}

.oda-chat-wrapper .oda-chat-header .oda-chat-header-info-wrapper .oda-chat-title {
    font-weight: 500;
}

.oda-chat-connection-status.oda-chat-connected {
    font-weight: 500;
}

.oda-chat-wrapper .oda-chat-header .oda-chat-header-info-wrapper .oda-chat-connection-status {
    font-weight: 500;
}

.oda-chat-wrapper .oda-chat-action-button {
    font-weight: 500;
}

.oda-chat-user-input {
    letter-spacing: 1px;
}

.oda-chat-wrapper .oda-chat-header {
    color: #3e3a39;
}

.oda-chat-wrapper .oda-chat-widget-button.oda-chat-icon {
    color: #3e3a39;
}

.oda-chat-wrapper .oda-chat-icon-wrapper {
    width: 40px;
}

.oda-chat-wrapper .oda-chat-dialog-wrapper .oda-chat-dialog .oda-chat-dialog-icon-content-wrapper .oda-chat-dialog-content .oda-chat-dialog-title {
    font-family: inherit;
}

/* Oracle postback/action buttons — keep text readable on Rinnai theme */
.oda-chat-wrapper .oda-chat-action-button {
    color: #161513 !important;
    border: 1px solid #161513 !important;
    font-weight: 500 !important;
}

.oda-chat-wrapper .oda-chat-action-button:hover,
.oda-chat-wrapper .oda-chat-action-button:focus {
    color: #161513 !important;
    border-color: #161513 !important;
}

/* Disclaimer overlay — must sit above the ODA widget (widget z-index is 10000) */
.disclaimer-overlay {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    padding: 16px;
}

.disclaimer-overlay.disclaimer-hidden {
    display: none;
}

.disclaimer-modal {
    background: #ffffff;
    border-radius: 8px;
    max-width: 520px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    font-family: "neue-haas-grotesk-display", Arial, sans-serif;
}

.disclaimer-modal h2 {
    margin: 0;
    padding: 20px 24px 12px;
    font-size: 1.15rem;
    color: #3e3a39;
}

.disclaimer-body {
    overflow-y: auto;
    padding: 0 24px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #333;
}

.disclaimer-body p {
    margin: 0 0 12px;
}

.disclaimer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px 24px;
}

.disclaimer-btn {
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 0.9rem;
    cursor: pointer;
}

.disclaimer-btn-decline {
    background: #f0f0f0;
    color: #333;
}

.disclaimer-btn-decline:hover {
    background: #e0e0e0;
}

.disclaimer-btn-agree {
    background: #cf000e;
    color: #fff;
}

.disclaimer-btn-agree:hover {
    background: #a8000b;
}

.disclaimer-btn-agree:disabled {
    background: #e5b5ae;
    cursor: not-allowed;
}

/*
 * Oracle Digital Assistant - sample page styles.
 *
 * NOTE: The bare-element selectors that shipped with Oracle's demo page
 * (body, h1-h3, a, li, em, code, ...) were removed because they leak
 * site-wide and override the Rinnai theme. Only namespaced class rules
 * remain below. The chat widget itself is styled by the SDK and by the
 * `.oda-chat-wrapper` overrides in this file.
 */

 /*
.layout {
    display: flex;
    justify-content: center;
}

.connect-form {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.sample-input {
    height: 3rem;
    border-radius: 6px;
    border: thin solid #707070;
    padding: 5px 10px;
    box-sizing: border-box;
    width: 300px;
}

.sample-input::placeholder {
    font-family: "Oracle Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
}

.sample-button {
    height: 3rem;
    border-radius: 6px;
    border: thin solid #707070;
    padding: 5px 20px;
    box-sizing: border-box;
    background: #000;
    color: #fff;
    font-family: "Oracle Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
}

.content {
    margin-left: 0;
    max-width: 100%;
    padding: 0 1rem;
    font-size: 16px;
}

@media screen and (min-width: 768px) {
    .content {
        max-width: 750px;
    }
}

.fw-600 {
    font-weight: 600;
}

.onoffswitch {
    position: absolute;
    top: 10px;
    right: 20px;
    width: 90px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.onoffswitch-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #999999;
    border-radius: 20px;
}

.onoffswitch-inner {
    display: flex;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.1s ease-in 0s;
}

.onoffswitch-inner:before,
.onoffswitch-inner:after {
    display: block;
    width: 50%;
    height: 30px;
    padding: 0;
    line-height: 30px;
    font-size: 14px;
    color: #fcfbfa;
    font-family: "Oracle Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

.onoffswitch-inner:before {
    content: "DARK";
    padding-left: 10px;
    background-color: #025e7d;
    color: #fcfbfa;
}

.onoffswitch-inner:after {
    content: "LIGHT";
    padding-right: 10px;
    background-color: #3a3631;
    color: #dc7e6c;
    text-align: end;
}

.onoffswitch-switch {
    display: block;
    width: 32px;
    margin: -1px;
    background: #FFFFFF;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 56px;
    border: 2px solid #999999;
    border-radius: 20px;
    transition: all 0.1s ease-in 0s;
}

.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked+.onoffswitch-label .onoffswitch-switch {
    right: 0;
}


*/
