/* General Styles */
body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f5f7;
}

/* General Layout */
.admin-panel {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 90px;
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.content-row {
    display: flex;
    flex: 1;
    margin-top: 60px;
    height: calc(100vh - 60px);
    overflow: hidden;
}

.logo-container .logo {
    width: 80px;
    height: auto;
}

.sidebar {
    width: 250px;
    background-color: #ffffff;
    color: #29295d;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    border-right: 1px solid #e0e0e0;
    position: fixed;
    height: calc(100vh - 90px);
    top: 70px;
    overflow-y: auto;
    z-index: 999;
    height: 100%;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-menu a {
    color: #29295d;
    text-decoration: none;
    display: block;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.sidebar-menu li:hover {
    background-color: #00cde5;
}

/* Main Content (Scrollable) */
.main-content {
    margin-left: 250px;
    padding: 50px;
    background-color: #f6f6f8;
    width: calc(100% - 250px);
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.main-content {
    flex-grow: 1;
    background-color: #f6f6f8;
    overflow-y: auto;
}

.connector-content {
    flex-grow: 1;
    padding: 50px;
    background-color: #f6f6f8;
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.content {
    padding: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: white;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

table th,
table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #dbd4f3;
    font-weight: 600;
}

table tbody tr:hover {
    background-color: #f9f9f9;
}

.status {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    color: white;
    text-align: center;
}

.status.pending {
    background-color: #ff6b6b;
}

.status.in-progress {
    background-color: #ffd93b;
    color: black;
}

.status.completed {
    background-color: #5cb85c;
}

.status.fixed {
    background-color: #5bc0de;
}

.dashboard {
    padding: 20px;
}

.dashboard-header {
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    /* Space between cards */
    margin-bottom: 50px;
}

.card-header {
    background-color: #e1e9e3;
}

.stat-box {
    background: white;
    /* Fallback color */
    border-radius: 10px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 2px 10px rgba(73, 71, 71, 0.1);
    text-align: center;
    height: 180px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gradient-card {
    background-color: #29295d;
    color: #ffffff;
}

.stat-box:hover {
    transform: translateY(-5px);
    transition: transform 0.2s;
}


.login-background {
    background: linear-gradient(135deg, #4c6ef5, #8430f0);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.login-card {
    border-radius: 10px;
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.login-heading {
    color: #333;
}

.login-btn-gradient {
    background: linear-gradient(135deg, #4c6ef5, #8430f0);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.login-btn-gradient:hover {
    background: linear-gradient(135deg, #4c6ef5, #6720c0);
}

.login-input {
    padding: 10px 15px;
    border-radius: 5px;
}

.login-label {
    color: #333;
    font-weight: bold;
}

.login-link a {
    color: #4c6ef5;
    text-decoration: none;
}

.login-link a:hover {
    text-decoration: underline;
}
