/* styles.css */

/* General Page Styling */
body {
    background-color: #f4f7fc;
    font-family: 'Arial', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

.btn-outline-light {
    font-size: 1.2rem;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Card Styling */
.card {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.card-header h5 {
    font-weight: bold;
    font-size: 1.5rem;
    color: #007bff;
}

/* Table Styling */
table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

table th, table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #007bff;
    color: white;
}

table tbody tr:hover {
    background-color: #f1f1f1;
}

/* Badge Styling */
.badge {
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 10px;
}

/* Button Styling */

/* Manual Control Slider Styling */
input[type="range"] {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, #007bff, #ccc);
    border-radius: 5px;
    outline: none;
    transition: background-color 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb {
    width: 25px;
    height: 25px;
    background-color: #007bff;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background-color: #0056b3;
}

/* Modal Styling */
.modal-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #007bff;
}

.modal-footer .btn-danger {
    background-color: #dc3545;
    border-radius: 50px;
}

.modal-footer .btn-secondary {
    border-radius: 50px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    header {
        padding: 20px 0;
        text-align: center;
    }

    .card-header {
        font-size: 1.25rem;
    }

    .btn-primary, .btn-warning, .btn-danger, .btn-secondary, .btn-success, .btn-info {
        font-size: 1rem;
        padding: 8px 15px;
    }

    input[type="range"] {
        height: 6px;
    }

    input[type="range"]::-webkit-slider-thumb {
        width: 20px;
        height: 20px;
    }
}



#system-status ul {
    margin-top: 20px;
}

#confirmModal .modal-footer .btn-danger {
    background-color: #dc3545;
}
