/* Module container */
.module-container {
    padding: 20px;
    line-height: 1.6;
}

/* Logo styling */
.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo-container img {
    width: 60px;
    height: auto;
}

/* Loading indicator */
.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-secondary);
}

.loading-indicator i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Settings form container */
.settings-form-container {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

/* Table container */
.table-container {
    margin-bottom: 20px;
    overflow-x: auto;
}

/* Data table styling */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.data-table th,
.data-table td {
    border: 1px solid var(--border-color);
    padding: 12px;
    text-align: left;
}

.data-table th {
    background-color: #f2f2f2;
    font-weight: 600;
}

/* Input fields in table */
.data-table input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

.data-table input[type="text"]:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Expandable elements */
.expandable {
    cursor: pointer;
    color: var(--primary-color);
    text-decoration: underline;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.expandable i {
    margin-right: 5px;
    font-size: 14px;
}

.expandable:hover {
    color: var(--primary-color-dark);
}

/* Sub-table for nested objects */
.sub-table {
    margin-left: 20px;
    width: calc(100% - 20px);
    border: none;
}

.sub-table td, 
.sub-table th {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 8px;
}

.sub-table tr:last-child td {
    border-bottom: none;
}

/* Form actions */
.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Status message */
.status-message {
    margin-top: 20px;
    padding: 12px;
    border-radius: 4px;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
}