/**
 * Tiriri - Frontend Disclosure Styles
 */

/* Chatbot Disclosure Banner */
.tiriri-disclosure {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 13px;
    line-height: 1.4;
    z-index: 999999;
    box-sizing: border-box;
}

.tiriri-disclosure--banner {
    position: fixed;
    bottom: 80px;
    right: 20px;
    max-width: 320px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 0;
    animation: tiririSlideIn 0.3s ease-out;
}

.tiriri-disclosure--tooltip {
    position: fixed;
    bottom: 90px;
    right: 20px;
    max-width: 280px;
    background: #333;
    color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    padding: 0;
    animation: tiririSlideIn 0.3s ease-out;
}

.tiriri-disclosure--tooltip .tiriri-disclosure__dismiss {
    color: #aaa;
}

.tiriri-disclosure--tooltip .tiriri-disclosure__dismiss:hover {
    color: #fff;
}

.tiriri-disclosure__inner {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
}

.tiriri-disclosure__icon {
    flex-shrink: 0;
    color: #495057;
    margin-top: 1px;
}

.tiriri-disclosure--tooltip .tiriri-disclosure__icon {
    color: #adb5bd;
}

.tiriri-disclosure__text {
    flex: 1;
    color: #495057;
}

.tiriri-disclosure--tooltip .tiriri-disclosure__text {
    color: #f1f3f5;
}

.tiriri-disclosure__dismiss {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #868e96;
    padding: 2px;
    border-radius: 4px;
    line-height: 1;
    transition: color 0.15s ease;
}

.tiriri-disclosure__dismiss:hover {
    color: #495057;
}

.tiriri-disclosure__dismiss:focus {
    outline: 2px solid #4dabf7;
    outline-offset: 2px;
}

/* Content Label */
.tiriri-content-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    background: #f1f3f5;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: #495057;
}

.tiriri-content-label__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #495057;
    color: #fff;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.tiriri-content-label__text {
    color: #495057;
}

/* Animation */
@keyframes tiririSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility: reduced motion */
@media (prefers-reduced-motion: reduce) {
    .tiriri-disclosure--banner,
    .tiriri-disclosure--tooltip {
        animation: none;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .tiriri-disclosure--banner,
    .tiriri-disclosure--tooltip {
        right: 10px;
        left: 10px;
        max-width: none;
        bottom: 70px;
    }
}
