/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }  
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/




body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    height: 100%;
    background-color: #f0f2f5;
}

.container {
    display: flex;
    height: 100%;
}

.nav-bar {
    width: 100%;
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
}
    .nav-bar a:hover {
        color: white; /* Same color on hover */
    }

.col-md-2 {
    background-color: #2c3e50;
}
.optionButton{
    width:auto;
    border-radius: 4px;
    margin-right:2rem;
    padding: .5rem 4rem;
    background-color:darkslategrey
}
.nav-button {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .nav-button:hover {
        background-color: #34495e;
    }

    .nav-button svg {
        margin-right: 10px;
    }

.main-area {
    flex-grow: 1;
    padding: 20px;
    background-color: #ffffff;
}

.login-container {
    max-width: 300px;
    margin: 100px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


input[type="email"], input[type="password"], input[type="text"] {
    width: 92%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #bdc3c7;
    border-radius: 3px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #3498db;
    color: #ffffff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

    button:hover {
        background-color: #2980b9;
    }

.connector {
    display: inline-block;
    width: 150px;
    height: 150px;
    margin: 10px;
    padding: 20px;
    text-align: center;
    background-color: #ecf0f1;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}

    .connector:hover {
        transform: scale(1.05);
    }

    .connector img {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    border: 1px solid #bdc3c7;
    text-align: left;
}

th {
    background-color: #3498db;
    color: #ffffff;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.dashboard-item {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: #2ecc71;
    width: 0%;
    transition: width 1s;
}

.finish-time {
    background-color: #e74c3c;
    color: #ffffff;
    font-size: 24px;
    padding: 20px;
    text-align: center;
    position: relative;
}

    .finish-time::before {
        content: "!";
        position: absolute;
        top: -10px;
        right: -10px;
        background-color: #c0392b;
        color: #ffffff;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

.bar-chart {
    display: flex;
    align-items: flex-end;
    height: 200px;
    padding-top: 20px;
}

.bar {
    flex: 1;
    background-color: #3498db;
    margin: 0 5px;
    transition: height 1s;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 300px;
    border-radius: 5px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.nav_a {
    color: white;
}

.table thead th {
    background-color: #3498db; 
    color: white; 
}

.connected_acc {
    display: inline-block;
    width: 200px;
    height: 185px;
    margin: 10px;
    padding: 20px;
    text-align: center;
    background-color: #ecf0f1;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
}
    .connected_acc:hover {
        transform: scale(1.05);
    }

    .connected_acc img {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }


/* Make table headers sticky */
table th {
    position: sticky;
    top: 0; /* Make sure the header stays at the top */
    background-color: #f8f9fa; /* Optional: Adds background to the header */
    z-index: 1; /* Ensures the headers stay above the rows */
    background-color:steelblue
}












