/**
 * YHR AI Chat Styles
 * Standalone chat system with context awareness
 */

/* Chat Launcher Button */
.yhr-chat-launcher {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #B39783 0%, #a08570 100%);
    border: solid 1px white;
    box-shadow: 0 4px 12px rgba(179, 151, 131, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    z-index: 10000;
    /* Above container */
}

.yhr-chat-launcher:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(179, 151, 131, 0.6);
}

/* Launcher Icon Animation */
.yhr-chat-launcher .yhr-chat-icon-open,
.yhr-chat-launcher .yhr-chat-icon-close {
    transition: all 0.3s ease;
    position: absolute;
}

.yhr-chat-launcher.is-open .yhr-chat-icon-open {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

.yhr-chat-launcher.is-open .yhr-chat-icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    display: block !important;
    /* Override inline style */
}

/* Chat Container */
.yhr-chat-container {
    position: fixed;
    bottom: 96px;
    /* Floating above launcher */
    right: 24px;
    width: 380px;
    height: 600px;
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
    overflow: hidden;
    transform-origin: bottom right;
}

.yhr-chat-container.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

/* Chat Header */
.yhr-chat-header {
    background: linear-gradient(135deg, #B39783 0%, #929392 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.yhr-chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
}

.yhr-chat-header-logo {
    width: 32px;
    height: 32px;
    border-radius: 2px;
    padding: 1px;
    border: 1px solid rgba(255, 255, 255, 1);
    background: white;
    object-fit: cover;
}

.yhr-chat-status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.yhr-chat-controls {
    display: flex;
    gap: 8px;
}

/* .yhr-chat-reset-btn { display: none !important; } */
#yhrChatReset {
    display: none !important;
}

.yhr-chat-minimize-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.yhr-chat-minimize-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Messages Area */
.yhr-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Increased gap for containers */
}

/* Message Containers */
.yhr-chat-message-container {
    display: flex;
    gap: 8px;
    max-width: 90%;
}

.yhr-chat-message-container.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.yhr-chat-message-container.assistant {
    align-self: flex-start;
}

.yhr-chat-avatar {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 2px;
    padding: 1px;
    background: white;
    margin-top: 2px;
    margin-bottom: auto;
}

.yhr-chat-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.yhr-chat-timestamp {
    font-size: 10px;
    color: #9ca3af;
    margin-left: 4px;
}

.yhr-chat-message-container.user .yhr-chat-timestamp {
    text-align: right;
    margin-right: 4px;
}

/* Message Bubbles - Override old styles */
.yhr-chat-message {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    position: relative;
}

.yhr-chat-message.user {
    background: linear-gradient(135deg, #B39783 0%, #a08570 100%);
    color: white;
    border-bottom-right-radius: 4px;
}

.yhr-chat-message.assistant {
    background: white;
    color: #1f2937;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.yhr-chat-message.system {
    background: #fef3c7;
    color: #92400e;
    align-self: center;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 8px !important;
    max-width: 100%;
}


/* Typing Indicator */
.yhr-chat-typing span {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 2px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.yhr-chat-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.yhr-chat-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }
}

/* Input Area */
.yhr-chat-input-area {
    padding: 16px 20px 8px 20px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
}

.yhr-chat-input {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.yhr-chat-input:focus {
    border-color: #B39783;
}

.yhr-chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #B39783 0%, #a08570 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.yhr-chat-send-btn:hover {
    transform: scale(1.1);
}

.yhr-chat-send-btn:active {
    transform: scale(0.95);
}

/* Disclaimer */
.yhr-chat-disclaimer {
    font-size: 10px;
    color: #9ca3af;
    text-align: center;
    padding-bottom: 8px;
    background: white;
    border-radius: 0 0 16px 16px;
}

/* Download Card */
.yhr-chat-download {
    background: white;
    border: 2px solid #B39783;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.yhr-chat-download-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #B39783 0%, #a08570 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.yhr-chat-download-content {
    flex: 1;
}

.yhr-chat-download-content h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.yhr-chat-download-content p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

.yhr-chat-download-btn {
    background: linear-gradient(135deg, #B39783 0%, #a08570 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.2s;
    display: inline-block;
}

.yhr-chat-download-btn:hover {
    transform: translateY(-2px);
}

/* Navigation Link */
.yhr-chat-nav-link {
    display: inline-block;
    margin-top: 4px;
    font-weight: 500;
}

/* Options Info */
.yhr-chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
    align-items: flex-start;
}

.yhr-chat-option-btn {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.yhr-chat-option-btn:hover:not(:disabled) {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.yhr-chat-option-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

/* Proactive Bubble */
.yhr-chat-proactive-bubble {
    position: absolute;
    bottom: 75px;
    right: 0;
    background: white;
    padding: 12px 16px;
    border-radius: 12px 12px 0 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeInSlideUp 0.3s ease-out;
    z-index: 9997;
    cursor: pointer;
    min-width: 150px;
}

.yhr-chat-proactive-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #1f2937;
}

.yhr-chat-proactive-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
    margin-left: 8px;
}

.yhr-chat-proactive-close:hover {
    color: #4b5563;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .yhr-chat-container {
        width: calc(100vw - 32px);
        height: calc(100vh - 100px);
        bottom: 90px;
        right: 16px;
    }

    .yhr-chat-launcher {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
    }

    /* Hide launcher when open on mobile to avoid blocking input */
    .yhr-chat-launcher.is-open {
        display: none !important;
    }
}

.yhr-chat-container.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

/* Chat Header */
.yhr-chat-header {
    background: linear-gradient(135deg, #B39783 0%, #929392 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.yhr-chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
}

.yhr-chat-status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.yhr-chat-controls {
    display: flex;
    gap: 8px;
}

.yhr-chat-minimize-btn,
.yhr-chat-reset-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.yhr-chat-minimize-btn:hover,
.yhr-chat-reset-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Messages Area */
.yhr-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yhr-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.yhr-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.yhr-chat-messages::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.yhr-chat-messages::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Message Bubbles */
.yhr-chat-message {
    max-width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.yhr-chat-message.user {
    background: linear-gradient(135deg, #B39783 0%, #a08570 100%);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.yhr-chat-message.assistant {
    background: white;
    color: #1f2937;
    align-self: flex-start;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.yhr-chat-message.system {
    background: #fef3c7;
    color: #92400e;
    align-self: center;
    font-size: 13px;
    padding: 8px 12px;
}

/* Typing Indicator */
.yhr-chat-typing span {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 2px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.yhr-chat-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.yhr-chat-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-6px);
    }
}

/* Input Area */
.yhr-chat-input-area {
    padding: 16px 20px 8px 20px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
}

.yhr-chat-input {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.yhr-chat-input:focus {
    border-color: #B39783;
}

.yhr-chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #B39783 0%, #a08570 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.yhr-chat-send-btn:hover {
    transform: scale(1.1);
}

.yhr-chat-send-btn:active {
    transform: scale(0.95);
}

/* Disclaimer */
.yhr-chat-disclaimer {
    font-size: 10px;
    color: #9ca3af;
    text-align: center;
    padding-bottom: 6px;
}

/* Download Card */
.yhr-chat-download {
    background: white;
    border: 2px solid #B39783;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.yhr-chat-download-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #B39783 0%, #a08570 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.yhr-chat-download-content {
    flex: 1;
}

.yhr-chat-download-content h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.yhr-chat-download-content p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

.yhr-chat-download-btn {
    background: linear-gradient(135deg, #B39783 0%, #a08570 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.2s;
    display: inline-block;
}

.yhr-chat-download-btn:hover {
    transform: translateY(-2px);
}

/* Navigation Link */
.yhr-chat-nav-link {
    display: inline-block;
    margin-top: 4px;
    font-weight: 500;
}

/* Options Info */
.yhr-chat-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    align-items: flex-start;
}

.yhr-chat-option-btn {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.yhr-chat-option-btn:hover:not(:disabled) {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.yhr-chat-option-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

/* Proactive Bubble */
.yhr-chat-proactive-bubble {
    position: absolute;
    bottom: 92px;
    right: 25px;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: fadeInSlideUp 0.3s ease-out;
    z-index: 9997;
    cursor: pointer;
    min-width: 150px;
}

.yhr-chat-proactive-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #1f2937;
}

.yhr-chat-proactive-close {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 18px;
    cursor: pointer;
    padding: 0 4px;
    margin-left: 8px;
}

.yhr-chat-proactive-close:hover {
    color: #4b5563;
}

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .yhr-chat-container {
        width: calc(100vw - 32px);
        height: calc(100vh - 100px);
        bottom: 90px;
        right: 16px;
    }

    .yhr-chat-launcher {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
    }
}

.yhr-chat-launcher:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(179, 151, 131, 0.6);
}

.yhr-chat-launcher.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0);
}

/* Chat Container */
.yhr-chat-container {
    position: fixed;
    bottom: 96px;
    /* Floating above launcher */
    right: 24px;
    width: 380px;
    height: 600px;
    max-height: calc(100vh - 100px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    overflow: hidden;
}

.yhr-chat-container.open {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: all;
}

/* Chat Header */
.yhr-chat-header {
    background: linear-gradient(135deg, #B39783 0%, #929392 100%);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.yhr-chat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 16px;
}

.yhr-chat-status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.yhr-chat-controls {
    display: flex;
    gap: 8px;
}

.yhr-chat-minimize-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.yhr-chat-minimize-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Messages Area */
.yhr-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yhr-chat-messages::-webkit-scrollbar {
    width: 6px;
}

.yhr-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.yhr-chat-messages::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.yhr-chat-messages::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Message Bubbles */
.yhr-chat-message {
    max-width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
}

.yhr-chat-message.user {
    background: linear-gradient(135deg, #B39783 0%, #a08570 100%);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.yhr-chat-message.assistant {
    background: white;
    color: #1f2937;
    align-self: flex-start;
    border-top-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.yhr-chat-message.system {
    background: #fef3c7;
    color: #92400e;
    align-self: center;
    font-size: 13px;
    padding: 8px 12px;
}

/* Typing Indicator */
.yhr-chat-typing span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 2px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.yhr-chat-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.yhr-chat-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-10px);
    }
}

/* Input Area */
.yhr-chat-input-area {
    padding: 16px 20px 4px 20px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    border-radius: 0 0 16px 16px;
}

.yhr-chat-input {
    flex: 1;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.yhr-chat-input:focus {
    border-color: #B39783;
}

.yhr-chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #B39783 0%, #a08570 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.yhr-chat-send-btn:hover {
    transform: scale(1.1);
}

.yhr-chat-send-btn:active {
    transform: scale(0.95);
}

/* Download Card */
.yhr-chat-download {
    background: white;
    border: 2px solid #B39783;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.yhr-chat-download-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #B39783 0%, #a08570 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.yhr-chat-download-content {
    flex: 1;
}

.yhr-chat-download-content h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.yhr-chat-download-content p {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}

.yhr-chat-download-btn {
    background: linear-gradient(135deg, #B39783 0%, #a08570 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.2s;
    display: inline-block;
}

.yhr-chat-download-btn:hover {
    transform: translateY(-2px);
}

/* Navigation Link */
.yhr-chat-nav-link {
    display: inline-block;
    margin-top: 4px;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .yhr-chat-container {
        width: calc(100vw - 32px);
        height: calc(100vh - 100px);
        bottom: 16px;
        right: 16px;
    }

    .yhr-chat-launcher {
        bottom: 16px;
        right: 16px;
        width: 56px;
        height: 56px;
    }
}