body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.nav-tabs {
    margin-bottom: 20px;
}

.nav-tabs .nav-link {
    color: #495057;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: #007bff;
}

.nav-tabs .nav-link.active {
    color: #007bff;
    font-weight: bold;
    border-bottom: 2px solid #007bff;
}

.container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    margin-top: 20px;
}

/* Login Form Styles */
#loginForm {
    max-width: 400px;
    margin: 0 auto;
}

#loginForm h2 {
    color: #007bff;
    text-align: center;
    margin-bottom: 20px;
}

#loginForm .form-label {
    font-weight: bold;
}

#loginForm .btn-primary {
    width: 100%;
    margin-top: 10px;
}

/* Admin Content Styles */
#adminContent {
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.admin-welcome {
    text-align: center;
}

.admin-welcome h2 {
    color: #007bff;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.admin-message {
    background-color: #e9ecef;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.admin-message h3 {
    color: #28a745;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.admin-message p {
    font-size: 1.2rem;
    color: #6c757d;
}

.admin-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.admin-button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: 200px; /* Set a fixed width for uniform button sizes */
    margin: 0.5rem;
}

.admin-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .admin-actions {
        flex-direction: column;
        align-items: center;
    }

    .admin-button {
        width: 80%;
        max-width: 300px;
    }
}

/* General Styles */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.list-group-item {
    transition: background-color 0.3s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .admin-actions {
        flex-direction: column;
    }

    .admin-button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* BLE Card Styles */
.ble-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.ble-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.ble-card .card-header {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-bottom: none;
}

.ble-card .device-name {
    font-family: 'Arial', sans-serif;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.ble-card .heart-rate-btn {
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    background-color: #28a745;
    border-color: #28a745;
    transition: all 0.3s ease;
}

.ble-card .heart-rate-btn:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.ble-card .wave-container {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 10px;
}

.ble-card .last-device {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #6c757d;
}

.ble-card .ble-status {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    color: #495057;
    font-style: italic;
}

.ble-card .control-btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    background-color: #17a2b8;
    border-color: #17a2b8;
    transition: all 0.3s ease;
}

.ble-card .control-btn:hover {
    background-color: #138496;
    border-color: #117a8b;
}

/* Container styles */
.ble-container {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* BLE Card Styles */
.ble-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    max-width: 280px;
    margin: 0 auto;
}

.ble-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.ble-card .card-header {
    background: linear-gradient(45deg, #007bff, #0056b3);
    border-bottom: none;
    padding: 0.75rem 1rem;
}

.ble-card .device-name {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.ble-card .card-body {
    padding: 1rem;
}

.ble-card .heart-rate-btn {
    font-family: 'Helvetica', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    background-color: #28a745;
    border-color: #28a745;
    transition: all 0.3s ease;
    padding: 0.375rem 0.75rem;
}

.ble-card .heart-rate-btn:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.ble-card .wave-container {
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 5px;
    margin-bottom: 0.5rem;
}

.ble-card .wave-container canvas {
    height: 100px;
}

.ble-card .last-device {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.ble-card .ble-status {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
    color: #495057;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.ble-card .control-btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    background-color: #17a2b8;
    border-color: #17a2b8;
    transition: all 0.3s ease;
    padding: 0.375rem 0.75rem;
}

.ble-card .control-btn:hover {
    background-color: #138496;
    border-color: #117a8b;
}

/* Responsive adjustments */
@media (min-width: 576px) {
    .ble-container {
        max-width: 95%;
    }
}

@media (min-width: 768px) {
    .ble-container {
        max-width: 90%;
    }
}

@media (min-width: 992px) {
    .ble-container {
        max-width: 85%;
    }
}

@media (min-width: 1200px) {
    .ble-container {
        max-width: 80%;
    }
}

/* Add this to your existing CSS file (e.g., index.css) */

.logout-btn {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logout-btn:hover {
    background-color: #dc3545;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.logout-btn i {
    margin-right: 5px;
}

.admin-header {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-header h2 {
    margin-bottom: 0;
    color: #343a40;
}

.activity-time {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .activity-time-label {
    margin-right: 5px;
  }

  