/* LLM Section Styles */
/* Global body styles now in global.css */

#llm-section {
    padding-top: 100px;
}

.llm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.llm-header h1 {
    color: #333;
    font-size: 2.5em;
    font-weight: 700;
    margin: 0;
    font-family: 'Inter Tight', sans-serif;
}

/* Add LLM button in global header */
.section-buttons .add-llm-button {
    background: transparent;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: lighter;
    cursor: pointer;
    display: flex;
    border: 0.5px solid #c1c1c1;
    color: #6c757d;
    align-items: center;
    gap: 6px;
    padding: 4px;
    padding-right: 6px;
    transition: all 0.3s ease;
    box-shadow: none;
}

.section-buttons .add-llm-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.section-buttons .add-llm-button i {
    font-size: 16px;
}

#llms-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

#llms-table th,
#llms-table td {
    text-align: left;
    vertical-align: top;
    max-height: 60px;
    overflow: hidden;
}

/* Description column max-width */
#llms-table td:nth-child(5) { /* Description column (5th because of status) */
    max-width: 300px;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Specifications column max-width */
#llms-table td:nth-child(6) { /* Specifications column (6th because of status) */
    max-width: 250px;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.actions-cell {
    white-space: nowrap;
    width: 1%;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

table#llms-table .action-btn {
    padding: 5px;
    background: transparent;
    border: #f1f1f1 thin solid;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
    height: 25px;
}

table#llms-table .action-btn i{
    margin: 0;
}

.action-btn:last-child {
    margin-right: 0;
}

.action-btn.edit {
    color: #007bff;
}

.action-btn.edit:hover {
    opacity: 0.7;
}

.action-btn.delete {
    color: #dc3545;
}

.action-btn.delete:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    #llm-section main {
        padding: 15px;
    }

    .llm-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .llm-header h1 {
        font-size: 2em;
    }

    #llm-section .table-container {
        margin-top: 15px;
    }

    #llms-table th,
    #llms-table td {
        padding: 12px 8px;
    }
}

