/* 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;
}

/* Section containers */
.section-container {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Header controls */
.header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.date-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-controls input[type="date"] {
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

/* Message container */
.message-container {
    margin: 15px 0;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: #f8f9fa;
    white-space: pre-wrap;
    min-height: 50px;
}

/* Table container */
.table-container {
    margin: 20px 0;
    overflow-x: auto;
}

/* Data table styling */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    text-align: left;
    border: 1px solid var(--border-color);
    padding: 10px;
}

.data-table th {
    background-color: #f2f2f2;
}

/* Server status indicators */
.online {
    color: var(--success-color);
    font-weight: bold;
}

.offline {
    color: var(--danger-color);
    font-weight: bold;
}

/* Server control styles */
.server-status-container {
    margin-bottom: 30px;
}

.server-status-container h3 {
    margin-bottom: 15px;
}

.server-controls-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.server-form-container {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
}

.server-form-container:nth-child(odd) {
    background-color: #e6f7ff; /* Light blue */
}

.server-form-container:nth-child(even) {
    background-color: #fff7e6; /* Light orange */
}

.server-form-container h3 {
    margin-bottom: 15px;
}

.server-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.server-status {
    margin: 15px 0;
    font-weight: bold;
}

.started {
    color: var(--success-color);
}

.stopped {
    color: var(--danger-color);
}

/* Server command forms */
.server-command-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
}

/* Health data container */
.health-data-container {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: #f8f9fa;
}

.health-item {
    margin-bottom: 10px;
    padding: 8px;
    border-bottom: 1px solid #eee;
}

/* Status indicators */
.alert {
    color: var(--danger-color);
    font-weight: bold;
}

.healthy {
    color: var(--success-color);
    font-weight: bold;
}

/* Task status colors */
.task-pending-future {
    background-color: #fff3cd; /* Yellow */
}

.task-pending-past {
    background-color: #f8d7da; /* Red */
}

.task-done {
    background-color: #d4edda; /* Green */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .header-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .date-controls {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .server-controls-container {
        flex-direction: column;
    }
    
    .server-form-container {
        max-width: 100%;
    }
}