/* Custom CSS for the temperature monitoring dashboard */

/* General Styles */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #F1F2F4;
    margin: 0;
    padding: 0;
    height: 100%;
}


/* Sidebar */
.sidebar-custom {
    background-color: #ffffff;
    border-right: 1px solid #dee2e6;
    min-height: 100vh;
    padding: 20px;
}

    .sidebar-custom .nav-link {
        color: #343a40;
        padding: 15px 20px;
        display: block;
    }

        .sidebar-custom .nav-link:hover {
            background-color: #f8f9fa;
        }

    .sidebar-custom .nav-item.active .nav-link {
        background-color: #007bff;
        color: #ffffff;
    }

    .sidebar-custom .sensor-card {
        border: 1px solid #dee2e6;
        border-radius: 8px;
        margin-bottom: 10px;
        padding: 10px;
        background-color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .sidebar-custom .sensor-info {
        display: flex;
        align-items: center;
    }

    .sidebar-custom .sensor-name {
        font-weight: bold;
    }

    .sidebar-custom .sensor-temp {
        color: #28a745;
        font-size: 1.2rem;
        font-weight: bold;
    }

    .sidebar-custom .sensor-icon {
        font-size: 1.5rem;
        margin-right: 5px;
    }

    .sidebar-custom .icon-button {
        border: 1px solid #dee2e6;
        border-radius: 8px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        cursor: pointer;
        margin: 5px;
    }

        .sidebar-custom .icon-button:hover {
            background-color: #f1f3f5;
        }

/* Main Content */
.main-content-custom {
    padding: 20px;
    margin-top: 10px; /* Adjusted margin to ensure content is below the AppBar */
}

/* Icons */
.custom-icon {
    font-size: 1.25rem;
    color: #6c757d;
}

.icogreen {
    color: forestgreen;
}

.icoblue {
    color: cornflowerblue;
}

.icored {
    color: orangered;
}

.icon.orange {
    color: #fd7e14;
}

.icon.circle {
    border: 2px solid #dee2e6;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.icon.square {
    border: 2px solid #dee2e6;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.body-header {
    background-color: #F1F2F4;
    max-height:40px;
    padding: 5px;
}

.site-card {
    background-color: #D4D7DD;
    border-radius: 15px !important;
}

.header-search {
    max-width: 300px;
    background-color:white
    
}