.admin-container {
    width: 100%;
    max-width: 1000px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    margin: 30px auto;
    padding: 40px;
}

.admin-container h2 {
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 30px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.admin-container h2:first-child {
    margin-top: 0;
}

.admin-container h3 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 20px 0 12px 0;
}

/* Document list section */
.document-list {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    min-height: 150px;
    margin-bottom: 20px;
    background: #fafafa;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 6px;
    background: white;
    border: 1px solid #e8e8e8;
    transition: all 0.2s ease;
}

.document-item:hover {
    border-color: #d0d0d0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.document-item:last-child {
    margin-bottom: 0;
}

.document-item span {
    font-size: 0.95rem;
    color: #333;
    font-family: 'Monaco', 'Courier New', monospace;
}

.delete-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.delete-button:hover {
    background-color: #c82333;
}

/* Ingestion section */
.ingestion-status {
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #555;
    font-family: 'Monaco', 'Courier New', monospace;
}

/* Model config section */
.model-config {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.model-config label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.model-config select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 0.95rem;
    background: white;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.model-config select:focus {
    outline: none;
    border-color: #0066cc;
}

/* Forms */
.upload-form {
    display: flex;
    gap: 12px;
    align-items: stretch;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.upload-form input[type="file"],
.upload-form input[type="url"],
.upload-form input[type="text"] {
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 0.95rem;
    background: white;
    transition: border-color 0.2s ease;
}

.upload-form input:focus {
    outline: none;
    border-color: #0066cc;
}

/* Buttons */
button {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

button:hover {
    background-color: #0052a3;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,102,204,0.3);
}

button:active {
    transform: translateY(0);
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

#save-model-button {
    margin-top: 12px;
}

#refresh-status-button {
    background-color: #6c757d;
}

#refresh-status-button:hover {
    background-color: #5a6268;
}

#model-save-status {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 500;
}