/* ==================== HEADER & NAVIGATION ==================== */
/* Logo styling */
.logo-text {
    color: #000000;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Tab design with sloped edges - seamless merge with content */
.tabs-container {
    position: relative;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none;
}

.tab-active {
    background: #ffffff;
    color: #3b82f6;
    font-weight: 600;
    font-size: 13px;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    transition: all 0.2s ease;
    padding: 6px 20px 6px 10px;
    border: none;
    border-radius: 8px 0 0 0;
    clip-path: polygon(
        8px 0,
        calc(100% - 20px) 0,
        100% 100%,
        0 100%,
        0 8px
    );
}

.tab-inactive {
    background: rgba(255, 255, 255, 0.5);
    color: #1a1a1a;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.2s ease;
    padding: 6px 20px 6px 10px;
    border: none;
    border-radius: 8px 0 0 0;
    clip-path: polygon(
        8px 0,
        calc(100% - 20px) 0,
        100% 100%,
        0 100%,
        0 8px
    );
}

.tab-inactive:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #1a1a1a;
}

/* Tab icon styling - smaller */
.tab-icon {
    width: 14px;
    height: 14px;
    margin-right: 5px;
}

/* Tab and button text - visible by default */
.tab-text,
.btn-text {
    display: inline;
}

/* Responsive: Hide text and show icon-only mode on narrow widths */
@media (max-width: 450px) {
    /* Hide text labels */
    .tab-text,
    .btn-text,
    .input-btn-text {
        display: none;
    }

    /* Adjust icon spacing */
    .tab-icon,
    .input-btn-icon {
        margin-right: 0;
        margin-left: 0;
    }

    /* Adjust button padding for icon-only mode */
    .tab-active,
    .tab-inactive {
        padding: 8px 8px 8px 0;
        justify-content: center;
        align-items: center;
        min-width: 40px;
    }

    .new-chat-btn {
        padding: 8px;
        justify-content: center;
        align-items: center;
    }

    .new-chat-btn svg {
        margin: 0;
    }

    /* Input buttons - icon only mode */
    .input-btn {
        padding: 8px;
        justify-content: center;
    }
}

/* Responsive: Icon+text mode on wider screens */
@media (min-width: 451px) {
    .tab-active,
    .tab-inactive {
        padding: 6px 20px 6px 10px;
    }

    .new-chat-btn {
        padding: 6px 10px;
    }

    /* Input buttons - icon + text mode */
    .input-btn {
        padding: 8px 12px;
        gap: 6px;
    }

    .input-btn-icon {
        margin-right: 0;
    }

    /* Hide icon on send button for large screens - show text only */
    #sendButton .input-btn-icon,
    #draftSendButton .input-btn-icon {
        display: none;
    }
}

/* New chat button in tab bar - smaller size */
.new-chat-btn {
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: transparent;
    border: 1px solid rgba(226, 232, 240, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.new-chat-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(203, 213, 225, 1);
    color: #475569;
}

.new-chat-btn svg {
    width: 14px;
    height: 14px;
}
