* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, 'Lucida Grande', Arial, Ubuntu, Cantarell, 'Fira Sans', sans-serif;
    background: #0b141a;
    height: 100vh;
    overflow: hidden;
    color: #e9edef;
}

/* Login Screen */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, #075e54 0%, #128c7e 100%);
}

.login-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-title {
    color: #075e54;
    font-size: 28px;
    margin-bottom: 10px;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.login-title i {
    font-size: 24px;
}

.login-subtitle {
    color: #667781;
    margin-bottom: 30px;
    font-size: 14px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #667781;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d7db;
    border-radius: 4px;
    font-size: 15px;
    transition: all 0.2s;
    background: #fff;
    color: #111b21;
}

.form-input:focus {
    outline: none;
    border-color: #25d366;
}

.login-btn {
    background: #25d366;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn i {
    font-size: 15px;
}

.login-btn:hover {
    background: #20ba5a;
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.error-message {
    color: #e53e3e;
    background: #fee;
    padding: 12px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 14px;
}

/* WhatsApp Style Dashboard */
.dashboard {
    display: none;
    height: 100vh;
    width: 100%;
    position: relative;
}

.whatsapp-container {
    display: flex;
    height: 100vh;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    background: #111b21;
}

/* Sidebar - Lista de Conversas */
.conversations-sidebar {
    width: 30%;
    min-width: 350px;
    max-width: 450px;
    background: #111b21;
    border-right: 1px solid #313d45;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.sidebar-header {
    background: #202c33;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #313d45;
    min-height: 60px;
}

.sidebar-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.sidebar-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #6a7175;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
    overflow: hidden;
}

.sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-title {
    flex: 1;
    color: #e9edef;
    font-size: 16px;
    font-weight: 500;
}

.sidebar-actions {
    display: flex;
    gap: 8px;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #8696a0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s;
}

.icon-btn:hover {
    background: #313d45;
}

.icon-btn.bot-active {
    color: #25d366;
}

.icon-btn.bot-inactive {
    color: #8696a0;
    opacity: 0.6;
}

.icon-btn.bot-inactive:hover {
    opacity: 1;
}

.search-container {
    padding: 8px 12px;
    background: #202c33;
    border-bottom: 1px solid #313d45;
}

.search-box {
    background: #202c33;
    border: 1px solid #313d45;
    border-radius: 8px;
    padding: 9px 12px 9px 36px;
    width: 100%;
    color: #e9edef;
    font-size: 15px;
    position: relative;
}

.search-box:focus {
    outline: none;
    background: #111b21;
    border-color: #25d366;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #8696a0;
    font-size: 14px;
    z-index: 10;
}

.search-icon i {
    font-size: 14px;
}

.conversations-list {
    flex: 1;
    overflow-y: auto;
    background: #111b21;
}

.conversations-list::-webkit-scrollbar {
    width: 6px;
}

.conversations-list::-webkit-scrollbar-track {
    background: #111b21;
}

.conversations-list::-webkit-scrollbar-thumb {
    background: #313d45;
    border-radius: 3px;
}

.conversation-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #313d45;
    transition: background 0.2s;
    gap: 12px;
}

.conversation-item:hover {
    background: #202c33;
}

.conversation-item.active {
    background: #2a3942;
}

.conversation-avatar {
    width: 49px;
    height: 49px;
    border-radius: 50%;
    background: #6a7175;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 500;
    font-size: 20px;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
}

.conversation-avatar:hover {
    transform: scale(1.05);
}

.conversation-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.conversation-info {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.conversation-name {
    font-size: 17px;
    font-weight: 400;
    color: #e9edef;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-time {
    font-size: 12px;
    color: #8696a0;
    white-space: nowrap;
    margin-left: 8px;
}

.conversation-preview {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    color: #8696a0;
}

.conversation-preview-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-preview-prefix {
    color: #8696a0;
    font-weight: 500;
    margin-right: 4px;
}

.unread-badge {
    background: #25d366;
    color: #fff;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

/* Chat Area */
.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0b141a;
    position: relative;
}

.chat-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #8696a0;
    text-align: center;
    padding: 40px;
}

.chat-empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
    color: #8696a0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-empty-icon i {
    font-size: 64px;
}

.chat-empty-text {
    font-size: 18px;
    font-weight: 300;
    color: #8696a0;
}

.chat-header {
    background: #202c33;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #313d45;
    min-height: 60px;
}

.chat-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.chat-header-info {
    flex: 1;
}

.chat-header-name-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-header-name {
    font-size: 16px;
    font-weight: 500;
    color: #e9edef;
    margin-bottom: 2px;
}

.icon-btn-small {
    background: none;
    border: none;
    color: #8696a0;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.icon-btn-small:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e9edef;
}

.chat-header-status {
    font-size: 13px;
    color: #8696a0;
}

.chat-header-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid;
    background: rgba(0, 0, 0, 0.2);
}

.tag-remove {
    background: none;
    border: none;
    color: #25d366;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.tag-remove i {
    font-size: 12px;
}

.tag-remove:hover {
    background: rgba(37, 211, 102, 0.3);
    color: #fff;
}

/* Tag Modal */
.tag-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.tag-modal-content {
    background: #202c33;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.tag-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #313d45;
}

.tag-modal-header h3 {
    color: #e9edef;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.tag-modal-close {
    background: none;
    border: none;
    color: #8696a0;
    font-size: 18px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.tag-modal-close i {
    font-size: 18px;
}

.tag-modal-close:hover {
    background: #313d45;
    color: #e9edef;
}

.tag-modal-body {
    padding: 20px;
    overflow-y: auto;
}

.tag-input-container {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.tag-input {
    flex: 1;
    background: #111b21;
    border: 1px solid #313d45;
    border-radius: 6px;
    padding: 10px 12px;
    color: #e9edef;
    font-size: 14px;
}

.tag-input:focus {
    outline: none;
    border-color: #25d366;
}

.tag-add-btn {
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.tag-add-btn:hover {
    background: #20ba5a;
}

.tag-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #313d45;
}

.tag-suggestion {
    background: #111b21;
    color: #8696a0;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    cursor: pointer;
    border: 1px solid #313d45;
    transition: all 0.2s;
}

.tag-suggestion:hover {
    background: #313d45;
    color: #e9edef;
    border-color: #25d366;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-list-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.tag-list-remove {
    background: none;
    border: none;
    color: #25d366;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    padding: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.tag-list-remove i {
    font-size: 12px;
}

.tag-list-remove:hover {
    background: rgba(37, 211, 102, 0.3);
    color: #fff;
}

.conversation-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.conversation-tag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 500;
    border: 1px solid;
    background: rgba(0, 0, 0, 0.2);
}

/* Name Edit Modal */
.name-edit-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.name-edit-content {
    background: #202c33;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.name-edit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #313d45;
}

.name-edit-header h3 {
    color: #e9edef;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

.name-edit-close {
    background: none;
    border: none;
    color: #8696a0;
    font-size: 18px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.name-edit-close i {
    font-size: 18px;
}

.name-edit-close:hover {
    background: #313d45;
    color: #e9edef;
}

.name-edit-body {
    padding: 20px;
}

.name-edit-input {
    width: 100%;
    background: #111b21;
    border: 1px solid #313d45;
    border-radius: 6px;
    padding: 12px;
    color: #e9edef;
    font-size: 14px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.name-edit-input:focus {
    outline: none;
    border-color: #25d366;
}

.name-edit-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.name-edit-cancel,
.name-edit-save {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.name-edit-cancel {
    background: #313d45;
    color: #e9edef;
}

.name-edit-cancel:hover {
    background: #3f4a52;
}

.name-edit-save {
    background: #25d366;
    color: #fff;
}

.name-edit-save:hover {
    background: #20ba5a;
}

/* Tag Modal Enhancements */
.tag-create-section,
.tag-create-new-section,
.tag-list-section {
    margin-bottom: 24px;
}

.tag-create-section:last-child,
.tag-create-new-section:last-child,
.tag-list-section:last-child {
    margin-bottom: 0;
}

.tag-create-header {
    margin-bottom: 12px;
}

.tag-create-header h4 {
    color: #e9edef;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
}

.tag-create-new-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tag-color-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px;
    background: #111b21;
    border-radius: 6px;
    border: 1px solid #313d45;
}

.tag-color-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.tag-color-option:hover {
    transform: scale(1.1);
    border-color: #e9edef;
}

.tag-color-option.selected {
    border-color: #25d366;
    border-width: 3px;
}

.tag-create-btn {
    background: #0084ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.tag-create-btn:hover {
    background: #0073e6;
}

.tag-all-tags-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #313d45;
}

.tag-all-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-all-tag-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
}

.tag-all-tag-delete {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #ef4444;
    cursor: pointer;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s;
    margin-left: 4px;
}

.tag-all-tag-delete:hover {
    background: rgba(239, 68, 68, 0.4);
    color: #fff;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='grid' width='100' height='100' patternUnits='userSpaceOnUse'%3E%3Cpath d='M 100 0 L 0 0 0 100' fill='none' stroke='%231a2329' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23grid)'/%3E%3C/svg%3E");
    background-color: #0b141a;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #313d45;
    border-radius: 3px;
}

.message-bubble {
    max-width: 65%;
    padding: 6px 7px 8px 9px;
    border-radius: 7.5px;
    position: relative;
    word-wrap: break-word;
    font-size: 14.2px;
    line-height: 19px;
    margin-bottom: 0;
}

.message-bubble.user {
    background: #005c4b;
    color: #e9edef;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message-bubble.bot {
    background: #202c33;
    color: #e9edef;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.message-content {
    margin-bottom: 4px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.message-content strong {
    font-weight: 600;
}

.message-content em {
    font-style: italic;
}

.message-link {
    color: #53bdeb;
    text-decoration: underline;
    word-break: break-all;
    transition: color 0.2s;
}

.message-link:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

.message-bubble.user .message-link {
    color: #87ceeb;
}

.message-bubble.user .message-link:hover {
    color: #b0e0e6;
}

.message-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    text-align: right;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.message-bubble.bot .message-time {
    color: #8696a0;
}

.message-pair {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    width: 100%;
}

.message-pair.user {
    align-items: flex-end;
}

.message-pair.bot {
    align-items: flex-start;
}

.message-label {
    font-size: 12px;
    color: #8696a0;
    padding: 0 8px;
    margin-bottom: 4px;
    font-weight: 500;
}

.message-pair.user .message-label {
    text-align: right;
}

.message-pair.bot .message-label {
    text-align: left;
}

/* Date Badge - Separador de datas no chat */
.date-badge-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
    position: relative;
    width: 100%;
}

.date-badge-wrapper::before,
.date-badge-wrapper::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.date-badge-wrapper::before {
    margin-right: 12px;
}

.date-badge-wrapper::after {
    margin-left: 12px;
}

.date-badge {
    color: #8696a0;
    font-size: 12.5px;
    font-weight: 500;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 7.5px;
    text-transform: capitalize;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Chat Input Container */
.chat-input-container {
    background: #202c33;
    border-top: 1px solid #313d45;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    flex-shrink: 0;
    z-index: 10;
}

.chat-input-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 8px 0;
}

.chat-input-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: #2a3942;
    border-radius: 21px;
    padding: 9px 12px;
    min-height: 42px;
    max-height: 120px;
}

.chat-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #e9edef;
    font-size: 15px;
    font-family: inherit;
    resize: none;
    max-height: 100px;
    overflow-y: auto;
    line-height: 20px;
    padding: 0;
    margin: 0;
}

.chat-input::placeholder {
    color: #8696a0;
}

.chat-input-btn {
    background: transparent;
    border: none;
    color: #8696a0;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.chat-input-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e9edef;
}

.chat-input-btn i {
    font-size: 20px;
}

.chat-input-send {
    color: #25d366;
}

.chat-input-send:hover {
    background: rgba(37, 211, 102, 0.2);
    color: #25d366;
}

/* Botão de áudio */
#audioBtn.recording {
    color: #ef4444;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Indicador de gravação */
.recording-indicator {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    white-space: nowrap;
    display: none;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

#audioBtn.recording ~ .recording-indicator {
    display: block;
}

.chat-input-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Emoji Picker */
.emoji-picker {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    background: #202c33;
    border: 1px solid #313d45;
    border-radius: 12px;
    max-height: 200px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    margin-bottom: 8px;
}

.emoji-picker-header {
    padding: 6px 8px;
    border-bottom: 1px solid #313d45;
}

.emoji-picker-tabs {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    justify-content: center;
}

.emoji-picker-tabs::-webkit-scrollbar {
    display: none;
}

.emoji-tab {
    background: transparent;
    border: none;
    color: #8696a0;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.2s;
    flex-shrink: 0;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emoji-tab:hover {
    background: rgba(255, 255, 255, 0.08);
}

.emoji-tab.active {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
}

.emoji-picker-body {
    padding: 8px;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    max-height: 150px;
}

.emoji-picker-body::-webkit-scrollbar {
    width: 4px;
}

.emoji-picker-body::-webkit-scrollbar-track {
    background: transparent;
}

.emoji-picker-body::-webkit-scrollbar-thumb {
    background: #313d45;
    border-radius: 2px;
}

.emoji-item {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    font-size: 18px;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    min-height: 32px;
}

.emoji-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.15);
}

/* Stats Bar (Hidden by default, can be toggled) */
.stats-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #202c33;
    padding: 12px 16px;
    display: none;
    border-bottom: 1px solid #313d45;
    z-index: 10;
}

.stats-bar.show {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: 500;
    color: #25d366;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #8696a0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-container {
        flex-direction: column;
    }
    
    .conversations-sidebar {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }
    
    .chat-area {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        display: none;
    }
    
    .chat-area.show {
        display: flex;
    }
    
    .back-button {
        display: flex !important;
    }
    
    .emoji-picker {
        width: 280px;
        max-height: 180px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .emoji-picker-body {
        grid-template-columns: repeat(6, 1fr);
        max-height: 130px;
        padding: 6px;
    }
    
    .emoji-item {
        font-size: 16px;
        min-height: 28px;
    }
    
    .emoji-tab {
        font-size: 14px;
        padding: 3px 6px;
        min-width: 28px;
        height: 28px;
    }
    
    .chat-input-container {
        padding: 6px 12px;
    }
    
    .chat-input-box {
        min-height: 38px;
        padding: 7px 10px;
    }
    
    .chat-input-btn {
        width: 36px;
        height: 36px;
        padding: 6px;
    }
}

/* ========== MODAL DE PERFIL DO CONTATO ========== */
.profile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.profile-modal-content {
    position: relative;
    background: #202c33;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    animation: profileModalSlideIn 0.3s ease-out;
}

@keyframes profileModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.profile-header {
    padding: 16px;
    border-bottom: 1px solid #313d45;
    display: flex;
    justify-content: flex-end;
}

.profile-close {
    background: transparent;
    border: none;
    color: #8696a0;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 18px;
}

.profile-close:hover {
    background: #313d45;
    color: #e9edef;
}

.profile-body {
    padding: 24px;
    text-align: center;
}

.profile-avatar-large {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #667781 0%, #8696a0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: #fff;
    font-weight: 500;
    border: 4px solid #25d366;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.profile-avatar-large:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
}

.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 24px;
    font-weight: 500;
    color: #e9edef;
    margin-bottom: 8px;
}

.profile-phone {
    font-size: 16px;
    color: #8696a0;
    margin-bottom: 32px;
}

.profile-info {
    text-align: left;
    border-top: 1px solid #313d45;
    padding-top: 24px;
}

.profile-info-item {
    padding: 16px 0;
    border-bottom: 1px solid #313d45;
}

.profile-info-item:last-child {
    border-bottom: none;
}

.profile-info-label {
    font-size: 14px;
    color: #8696a0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-info-label i {
    font-size: 16px;
}

.profile-info-value {
    font-size: 16px;
    color: #e9edef;
    font-weight: 500;
}

.profile-info-value .profile-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.profile-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid;
}

/* Mobile Responsive para Profile Modal */
@media (max-width: 768px) {
    .profile-modal-content {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .profile-avatar-large {
        width: 150px;
        height: 150px;
        font-size: 60px;
    }
}

/* ========== MENU DE CONTEXTO (BOTÃO DIREITO) ========== */
.context-menu {
    position: fixed;
    background: #233138;
    border: 1px solid #313d45;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 10002;
    min-width: 200px;
    padding: 4px 0;
    display: none;
    animation: contextMenuFadeIn 0.15s ease-out;
}

@keyframes contextMenuFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.context-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #e9edef;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
    user-select: none;
}

.context-menu-item:hover {
    background-color: #2a3942;
}

.context-menu-item i {
    width: 18px;
    text-align: center;
    color: #8696a0;
    font-size: 14px;
}

.context-menu-item:hover i {
    color: #e9edef;
}

.context-menu-item span {
    flex: 1;
}

.context-menu-item.bot-active {
    color: #25d366;
}

.context-menu-item.bot-active i {
    color: #25d366;
}

.context-menu-item.bot-inactive {
    color: #8696a0;
}

.context-menu-item.bot-inactive i {
    color: #8696a0;
}

.context-menu-divider {
    height: 1px;
    background: #313d45;
    margin: 4px 0;
}

/* Desabilitar seleção de texto no item de conversa ao clicar direito */
.conversation-item {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.back-button {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #8696a0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 8px;
}

.back-button i {
    font-size: 18px;
}

.back-button:hover {
    background: #313d45;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #8696a0;
    font-size: 15px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #8696a0;
}

.empty-state h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #8696a0;
    font-weight: 300;
}

.empty-state p {
    font-size: 14px;
    color: #667781;
}

/* ========== MODAL DE CONFIGURAÇÕES ========== */
.config-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
    overflow-y: auto;
}

.config-modal-content {
    background: linear-gradient(135deg, #1e2936 0%, #202c33 100%);
    border-radius: 16px;
    width: 100%;
    max-width: 950px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.config-modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #0f1920 0%, #111b21 100%);
    position: relative;
}

.config-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.3), transparent);
}

.config-modal-header h2 {
    font-size: 22px;
    font-weight: 600;
    color: #e9edef;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.config-modal-header h2 i {
    font-size: 20px;
    color: #25d366;
}

.config-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #8696a0;
    cursor: pointer;
    font-size: 18px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
}

.config-modal-close i {
    font-size: 18px;
}

.config-modal-close::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.config-modal-close:hover {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.4);
    color: #ff6b7a;
    transform: rotate(90deg) scale(1.1);
}

.config-modal-close:hover::before {
    opacity: 1;
}

.config-modal-body {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(180deg, #1e2936 0%, #202c33 100%);
}

.config-modal-body::-webkit-scrollbar {
    width: 8px;
}

.config-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.config-modal-body::-webkit-scrollbar-thumb {
    background: rgba(37, 211, 102, 0.3);
    border-radius: 4px;
}

.config-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(37, 211, 102, 0.5);
}

/* Tabs */
.config-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 28px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    padding: 4px;
    border-radius: 12px 12px 0 0;
    overflow-x: auto;
}

.config-tabs::-webkit-scrollbar {
    height: 4px;
}

.config-tabs::-webkit-scrollbar-thumb {
    background: rgba(37, 211, 102, 0.3);
    border-radius: 2px;
}

.config-tab {
    background: transparent;
    border: none;
    color: #8696a0;
    padding: 14px 24px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.config-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.config-tab:hover {
    color: #e9edef;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.config-tab:hover::before {
    opacity: 1;
}

.config-tab.active {
    color: #25d366;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2), rgba(37, 211, 102, 0.05));
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.config-tab.active::before {
    opacity: 1;
}

.config-tab-content {
    display: none;
}

.config-tab-content.active {
    display: block;
}

/* Sections */
.config-section {
    margin-bottom: 36px;
    background: rgba(255, 255, 255, 0.02);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.config-section:hover {
    border-color: rgba(37, 211, 102, 0.2);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.config-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #e9edef;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.config-section h3 i {
    font-size: 18px;
    color: #25d366;
}

.config-description {
    font-size: 14px;
    color: #8696a0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.config-textarea {
    width: 100%;
    min-height: 400px;
    padding: 20px;
    background: rgba(11, 20, 26, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e9edef;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.7;
    resize: vertical;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.config-textarea:hover {
    border-color: rgba(37, 211, 102, 0.3);
}

.config-textarea:focus {
    outline: none;
    border-color: #25d366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1), inset 0 2px 8px rgba(0, 0, 0, 0.3);
    background: rgba(11, 20, 26, 0.8);
}

/* Keys Container */
.keys-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.key-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: #111b21;
    border: 1px solid #313d45;
    border-radius: 8px;
    transition: all 0.2s;
}

.key-item:hover {
    border-color: #25d366;
}

.key-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.key-item input {
    flex: 1;
    padding: 10px 40px 10px 14px;
    background: #0b141a;
    border: 1px solid #313d45;
    border-radius: 6px;
    color: #e9edef;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    transition: all 0.2s;
}

.key-item input:focus {
    outline: none;
    border-color: #25d366;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.1);
}

.key-toggle-visibility {
    position: absolute;
    right: 8px;
    background: transparent;
    border: none;
    color: #8696a0;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
    width: 28px;
    height: 28px;
}

.key-toggle-visibility i {
    font-size: 14px;
}

.key-toggle-visibility:hover {
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
    transform: scale(1.1);
}

.key-toggle-visibility:active {
    transform: scale(0.95);
}

.key-item button,
.key-remove-btn {
    background: #dc3545;
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.key-item button i,
.key-remove-btn i {
    font-size: 12px;
}

.key-remove-btn:hover,
.key-item button:hover {
    background: #c82333;
}

/* Buttons */
.config-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.config-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.config-btn i {
    font-size: 14px;
}

.config-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.config-btn:hover::before {
    opacity: 1;
}

.config-btn-primary {
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    color: white;
}

.config-btn-primary:hover {
    background: linear-gradient(135deg, #20ba5a 0%, #1ea049 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.config-btn-primary:active {
    transform: translateY(0);
}

.config-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #e9edef;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.config-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .config-modal-content {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .config-modal-header {
        border-radius: 0;
    }
    
    .config-tabs {
        flex-direction: column;
        gap: 0;
    }
    
    .config-tab {
        border-bottom: 1px solid #313d45;
        border-left: 2px solid transparent;
    }
    
    .config-tab.active {
        border-left-color: #25d366;
        border-bottom-color: #313d45;
    }
    
    .config-textarea {
        min-height: 300px;
    }
    
    .config-actions {
        flex-direction: column;
    }
    
    .config-btn {
        width: 100%;
    }
}

/* Config Fields */
.config-field {
    margin-bottom: 24px;
}

.config-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #e9edef;
    margin-bottom: 8px;
}

.config-input {
    width: 100%;
    padding: 12px 16px;
    background: #111b21;
    border: 1px solid #313d45;
    border-radius: 8px;
    color: #e9edef;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
}

.config-input:focus {
    outline: none;
    border-color: #25d366;
}

.config-hint {
    font-size: 12px;
    color: #8696a0;
    margin-top: 6px;
    line-height: 1.4;
}

/* Variables Container */
.variables-container {
    margin-bottom: 24px;
    background: rgba(37, 211, 102, 0.05);
    border: 1px solid rgba(37, 211, 102, 0.2);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.variables-container:hover {
    border-color: rgba(37, 211, 102, 0.3);
    background: rgba(37, 211, 102, 0.08);
}

.variables-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: rgba(37, 211, 102, 0.1);
    transition: all 0.3s ease;
}

.variables-header:hover {
    background: rgba(37, 211, 102, 0.15);
}

.variables-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #25d366;
    display: flex;
    align-items: center;
    gap: 8px;
}

.variables-toggle {
    background: rgba(37, 211, 102, 0.2);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #25d366;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.variables-toggle i {
    font-size: 11px;
}

.variables-toggle:hover {
    background: rgba(37, 211, 102, 0.3);
    transform: scale(1.05);
}

.variables-list {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.variable-group {
    margin-bottom: 24px;
}

.variable-group:last-child {
    margin-bottom: 0;
}

.variable-group h5 {
    font-size: 14px;
    font-weight: 600;
    color: #e9edef;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.variable-group h5 i {
    font-size: 13px;
    color: #25d366;
}

.variable-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.variable-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(37, 211, 102, 0.2);
    transform: translateX(4px);
}

.variable-item code {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(37, 211, 102, 0.3);
    min-width: 120px;
    text-align: center;
    flex-shrink: 0;
}

.variable-item span {
    color: #8696a0;
    font-size: 13px;
    line-height: 1.4;
    flex: 1;
}

.variable-example {
    margin-top: 20px;
    padding: 16px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 8px;
    border-left: 3px solid #25d366;
}

.variable-example strong {
    color: #25d366;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.variable-example strong i {
    font-size: 12px;
}

.variable-example pre {
    margin: 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    color: #e9edef;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 12px;
    line-height: 1.6;
    overflow-x: auto;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.variable-example pre code {
    color: #25d366;
}

