body {
    background-color: #8b0000;
    height: 100vh;
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    padding: 0;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.login-card {
    background: #ffffff;
    width: 380px;
    padding: 40px 35px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.logo {
    max-width: 100%;
}

.form-control {
    border-radius: 0;
    border: none;
    border-bottom: 2px solid #ddd;
    box-shadow: none;
}

.form-control:focus {
    border-bottom-color: #8b0000;
    box-shadow: none;
}

.btn-login {
    background-color: #8b0000;
    color: #fff;
    padding: 10px;
    border-radius: 0;
    font-weight: 500;
}

.btn-login:hover {
    background-color: #a00000;
    color: #fff;
}

html, body {
    background-color:  #fff;
     max-width: 100vw;
    overflow-x: hidden;
}


.content {
    margin-left: 260px;
    padding:  80px 20px 20px 20px;
}

.content-section {
    width: 100%;
}

table {
    min-width: 1200px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.page-section {
    width: 100%;
}

.content-wrapper {
    margin-left: 250px; 
    padding: 90px 30px 30px; 
    width: calc(100% - 250px);
    min-height: 100vh;
    overflow-x: hidden;
}

.nav-tabs {
    width: 100%;
}

.tab-content {
    width: 100%;
    overflow-x: hidden;
}


.main-wrapper {
    margin-left: 260px;
    min-height: 100vh;
    width: calc(100% - 250px);
}


.dashboard-table {
    width: 100%;
    overflow-x: auto;
}

.dashboard-table table {
    width: 100%;
    white-space: nowrap;
    min-width: 1200px;
}


#programApprovalSection table {
    width: 100%;
    min-width: unset !important;
}

.table-fit {
    width: auto !important;
    table-layout: auto !important;
}

.table-fit th, .table-fit td {
    white-space: nowrap;
    width: 1%;
}

.table-fit th:last-child, .table-fit td:last-child {
    width: 1%;
    white-space: nowrap;
}

.dashboard-table .btn {
    padding: 4px 8px;
    font-size: 0.8rem;
}

.profile-header{
    border-left:5px solid #800000;
}

.profile-avatar{
    width:65px;
    height:65px;
    border-radius:50%;
    background:#800000;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    font-weight:bold;
}

.info-item{
    margin-bottom:15px;
}

.info-item label{
    font-size:12px;
    color:#888;
    margin-bottom:0;
}

.info-item p{
    font-weight:500;
    margin:0;
}

.stat-box{
    background:#f8f9fa;
    padding:15px;
    border-radius:10px;
    transition:.3s;
}

.stat-box:hover{
    transform:translateY(-3px);
    box-shadow:0 5px 12px rgba(0,0,0,.08);
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    min-width: 250px;
    max-width: 250px; 
    height: 100vh;
    background-color: #8b0000;
    overflow-y: auto;
    padding: 20px 15px;
    z-index: 1000;
    border: 3px solid yellow !important;
    
}

    .sidebar h4 {
        text-align: center;
        margin-bottom: 30px;
    }

    .sidebar a {
        display: block;
        padding: 12px 20px;
        color: #ffffff;
        text-decoration: none;
    }

    .sidebar a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffdede;
        transition: transform 0.3s ease; 
        transform: scale(1.1);
    }

.topbar {
    position: fixed;
    left: 250px;
    right: 0;
    top: 0px;
    height: 60px;
    background-color: #ffffff;
    border-bottom: 1px solid #dee2e6;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1030 !important;
}

    .topbar .user-info {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .topbar .badge-role {
        text-transform: uppercase;
    }

.modal {
    z-index: 200000 !important;
}

.modal-backdrop {
    z-index: 199990 !important;
}

#participantsModal .modal-dialog{
    max-width: 90%;
}

#participantsModal .modal-body{
    overflow-x: hidden;
}

.participant-table{
    width: 100%;
    table-layout: fixed;
}

.participant-table th,
.participant-table td{
    word-break: break-word;
    overflow-wrap: break-word;
    vertical-align: middle;
}