/* Config Page Styles */
.config-content {
    padding: 25px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header positioning override */
.header {
    position: relative;
}

.settings-icon {
    cursor: pointer;
    color: #666;
    text-decoration: none;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.settings-icon:hover {
    color: #333;
}

.config-section {
    margin-bottom: 30px;
}

.config-section h2 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.config-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.config-info h3 {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.config-info p {
    font-size: 13px;
    color: #7f8c8d;
    margin: 0;
}

.config-input {
    display: flex;
    gap: 10px;
    align-items: center;
}

.config-input input[type="time"],
.config-input input[type="file"] {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.config-input input[type="time"] {
    width: 120px;
}

.config-input input[type="file"] {
    width: 250px;
}

.config-input input:focus {
    outline: none;
    border-color: #3498db;
}

.btn-save-config,
.btn-export,
.btn-import {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-save-config {
    background-color: #3498db;
    color: white;
}

.btn-save-config:hover {
    background-color: #2980b9;
}

.btn-export {
    background-color: #27ae60;
    color: white;
}

.btn-export:hover {
    background-color: #229954;
}

.btn-import {
    background-color: #f39c12;
    color: white;
}

.btn-import:hover {
    background-color: #e67e22;
}

.config-status {
    display: flex;
    align-items: center;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-active {
    background-color: #d4edda;
    color: #155724;
}

.status-inactive {
    background-color: #f8d7da;
    color: #721c24;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    text-align: center;
}

.stat-card h3 {
    font-size: 14px;
    font-weight: 500;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .config-content {
        padding: 20px 15px;
    }

    .config-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .config-input {
        width: 100%;
        flex-direction: column;
    }

    .config-input input[type="time"],
    .config-input input[type="file"] {
        width: 100%;
    }

    .config-input button {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
