/**
 * @file app/admin/styles/system-settings.css
 * @brief Admin module for system-settings.css
 * 
 * @version 
 *  - Major: 1
 *  - Minor: 1
 *  - Subversion: 0
 * 
 * @date 
 *  - Created: 2025-08-07 11:33:53
 *  - Modified: 2025-08-07 11:33:53
 * 
 * @author [core] Informationstechnologie
 * 
 * @copyright [core] Informationstechnologie, 2025
 */


/* System Settings Component Styles */

.system-settings {
    padding: 20px;
}

.system-settings .header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.system-settings .auto-refresh-control {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* Server Info Grid */
.server-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.info-card h3 {
    margin: 0 0 15px 0;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i {
    color: #6c757d;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #6c757d;
}

.info-value {
    color: #212529;
}

/* Settings Sections */
.settings-section {
    margin-bottom: 40px;
}

.settings-section h3 {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.setting-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.setting-row label {
    min-width: 150px;
    font-weight: 600;
    color: #6c757d;
}

.setting-row input {
    flex: 1;
}

/* IP Management */
.ip-section {
    margin-bottom: 40px;
}

.ip-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.ip-controls input {
    flex: 1;
    max-width: 300px;
}

.ip-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 300px;
    overflow-y: auto;
}

.ip-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

/* Queue Management */
.queue-management {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.queue-list h3 {
    margin-bottom: 20px;
}

.queue-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Module Management */
.module-management {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.module-list h3 {
    margin-bottom: 20px;
}

.module-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
}

.module-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.module-item:hover {
    background: #e9ecef;
}

.module-item.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.module-settings {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

/* Log Management */
.log-management {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.monitor-section h3 {
    margin-bottom: 20px;
}

.monitor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.monitor-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.monitor-item label {
    font-weight: 600;
    color: #6c757d;
}

/* Maintenance Section */
.maintenance-section h3 {
    margin-bottom: 30px;
}

.maintenance-actions {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.action-group {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.action-group h4 {
    margin-bottom: 20px;
    color: #495057;
}

.action-group button {
    margin-right: 10px;
    margin-bottom: 10px;
}

.danger-zone {
    border-color: #dc3545;
    background: #f8d7da;
}

.danger-zone h4 {
    color: #721c24;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .server-info-grid {
        grid-template-columns: 1fr;
    }
    
    .module-management {
        grid-template-columns: 1fr;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .setting-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .setting-row label {
        min-width: unset;
    }
}

/* Loading spinner animation */
.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}