.dashboard-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background: transparent;
    text-align: center;
    box-sizing: border-box;
}

.dashboard-section h2 {
    font-size: 50px;
    color: #31b1b8;
    margin-bottom: 60px;
    align-items: center;
}

.login-prompt {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.login-message {
    font-size: 14px;
    color: #da7979;
    margin-bottom: 10px;
  }
  
.login-btn {
    background-color: #31b1b8;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #27858a;
}

.dashboard-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.dashboard-header h3 {
    font-size: 24px;
    color: #333;
}

#deviceSelect {
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #007bff;
    background-color: white;
    color: #007bff;
    cursor: pointer;
}

.sensor-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.sensor-card {
    background-color: #f0f8ff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.sensor-card:hover {
    transform: translateY(-5px);
}

.sensor-card h5 {
    font-size: 16px;
    color: #007bff;
    margin-bottom: 10px;
}

.sensor-card p {
    font-size: 14px;
    color: #333;
}

.select-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #007bff;
    border-radius: 50%;
    margin: 10px auto;
    transition: all 0.3s ease;
}

.select-circle.active-circle {
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: 0 0 5px #007bff;
}

@media (max-width: 768px) {
    .sensor-cards {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 10px;
    }
}
