/* styles.css */

/* General Page Styling */
body {
    background-color: #f4f7fc;
    font-family: 'Arial', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

/* 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;
}

.card-body {
    font-size: 1.1rem;
    padding: 20px;
}

/* Sensor Data Display */
h6 {
    font-weight: bold;
    font-size: 1.2rem;
    color: #007bff;
}

p {
    font-size: 1rem;
    margin: 5px 0;
}

#tank1-ph-status, #tank1-oxygen-status, #tank1-temp-status,
#tank2-ph-status, #tank2-oxygen-status, #tank2-temp-status {
    font-size: 1.2rem;
}

/* Actuator Status */
#feeder-icon, #oxygenator-icon, #pump-icon {
    margin-top: 10px;
    transition: transform 0.3s ease;
}

#feeder-icon:hover, #oxygenator-icon:hover, #pump-icon:hover {
    transform: scale(1.2);
}

.card-body .col-md-6 p {
    font-weight: bold;
}

/* Button Styling */
.btn-primary {
    background-color: #007bff;
    border: none;
    font-size: 1rem;
    padding: 8px 20px;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

/* Chart Styling */
canvas {
    max-height: 300px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header {
        padding: 20px 0;
        text-align: center;
    }

    .card-header h5 {
        font-size: 1.25rem;
    }

    .btn-primary {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    canvas {
        max-height: 200px;
    }
}

