.table-ref {
    border-collapse: collapse;
    width: 100%;
    font-family: Arial, sans-serif;
}
.table-ref th {
    background-color: #d0e7ff;
    color: #000;
    font-weight: bold;
    text-align: left;
    border: 1px solid #b0c4de;
    padding: 10px;
}
.table-ref td {
    border: 1px solid #ccc;
    padding: 10px;
}
.table-ref tr:nth-child(even) {
    background-color: #f7fbff;
}




/* General Body Settings */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

/* Page Container for Sidebar and Content */
.page-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 200px;
    background-color: #4183c5;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
}

.sidebar-footer {
    text-align: center;
    padding: 15px;
    font-size: 10px;
    color: #ffffff; /* White text color */
    margin-top: auto; /* Pushes footer to the bottom of sidebar */
}

.sidebar-header {
    display: flex;
    align-items: center;
    padding: 20px;
    font-size: 20px;
    font-weight: bold;
}

.menu-tabs {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.menu-tabs li {
    padding: 10px 20px;
}

.menu-tabs li a {
    color: #f4f6f8;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.menu-tabs li a:hover,
.menu-tabs .active {
    background-color: #4c5a6e;
    color: #fff;
}

.outer-flex-container {
    display: flex;
    justify-content: center;
    gap: 20px; /* Adjust space between containers as needed */
    padding: 20px;
}

/* Centering the login-wrapper */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Full viewport height */
    background-color: #f4f4f9; /* Optional background color */
    
}



.login-container {
    width: 400px;
    margin: 80px auto;
    padding: 20px 40px 20px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.pagination-btn {
    width: 30px;
    height: 30px;
    margin: 0 5px;  /* Add some spacing between buttons */
    padding: 5px;
    text-align: center;
}

.logo {
    width: 150px;   /* Set desired width */
    height: auto;   /* Let height adjust proportionally or set to a fixed value if needed */
    max-height: 100px; /* Limit the maximum height if needed */
    display: block; /* Ensure it displays as a block for alignment */
    margin: 0 auto; /* Center the logo if needed */
}

.logo-container {
    position: absolute;
    top: 20px;
    left: 20px;
}

/* Main Content Area Styles */
.main-content {
    margin-left: 200px; /* Same as the sidebar width */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.header {
    background-color: #eae3e3;
    padding: 20px;
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-left h2 {
    margin: 0;
    color: #333;
}

.header-left p {
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

.header-right {
    display: flex;
    align-items: center;
}

.header-right a {
    color: #333;
    margin-right: 15px;
    position: relative;
}

.header-right .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff5e57;
    color: #fff;
    border-radius: 50%;
    padding: 3px 5px;
    font-size: 10px;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

/* Content Area */
.content {
    padding: 20px;
    background-color: #f9f9f9;
}


/* Matrix Table Styles */
.matrix-table-container {
    margin: 20px auto;
    padding: 20px;
    width: 90%;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 14px;
    background-color: #fff;
}

.matrix-table th,
.matrix-table td {
    padding: 10px;
    border: 1px solid #ddd;
}

.matrix-table th {
    background-color: #d9e1f2;
    font-weight: bold;
    color: #333;
}

.matrix-table th[colspan="12"] {
    background-color: #ffe699;
    font-size: 16px;
    color: #333;
}

.matrix-table .header-cell {
    background-color: #ffe699;
    font-weight: bold;
    font-size: 16px;
}

.matrix-table .subheader-cell {
    background-color: #d9e1f2;
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.matrix-table .category-cell {
    background-color: #bdd7ee;
    font-weight: bold;
    text-align: left;
    padding-left: 10px;
}

.matrix-table td {
    background-color: #f2f2f2;
}

.matrix-table td:nth-child(even) {
    background-color: #e6f7ff;
}

.matrix-table-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

/* Other Components Styling */
.upload-container {
    width: 400px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.upload-option {
    margin-bottom: 15px;
}

.upload-option label {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-weight: bold;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #00a3cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #003399;
}

.messages {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.messages li {
    color: red;
}

.filter-container {
    width: 300px; /* Adjust the width as necessary */
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    align-self: flex-start;
    display: none; /* Hidden by default */
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: normal;
}

.filter-group select {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}


/* Target Group Container Styles */
.target-group-container {
    width: 300px; /* Adjust the width as needed */
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.target-group-container h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.target-group-container p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.target-group-container .filter-group {
    margin-bottom: 15px;
}

.target-group-container label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.target-group-container select,
.target-group-container input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.target-group-container button {
    width: 100%;
    padding: 10px;
    background-color: #00a3cc;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.target-group-container button:hover {
    background-color: #003399;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 30px; /* Set desired width for the avatar */
    height: 30px; /* Set desired height for the avatar */
    border-radius: 50%; /* Make it round */
}

/* Submenu styling */
.submenu {
    display: none; /* Hidden by default */
    list-style: none;
    padding-left: 20px;
    margin-top: 5px;
}

.submenu li {
    padding: 5px 0;
}

.submenu li a {
    color: #fcfafa;
    font-size: 14px;
    text-decoration: none;
}

.submenu li a:hover {
    color: #00a3cc;
}

/* Show submenu when the 'visible' class is added */
.submenu.visible {
    display: block;
}

.mapping-tab > a::after {
    content: "▼"; /* Down arrow indicator */
    font-size: 12px;
    margin-left: 8px;
}

.mapping-tab > a.visible::after {
    content: "▲"; /* Up arrow when expanded */
}

.upload-option {
    display: flex;
    align-items: center;
    gap: 8px; /* Adds spacing between the radio and button */
}

.template-download-btn {
    display: inline-block;
    width: 22px;
    height: 22px;
    text-align: center;
    font-size: 18px;
    margin-left: 10px;
    text-decoration: none;
    color: #007bff;
    background: #f1f1f1;
    border-radius: 4px;
    border: 1px solid #ccc;
    line-height: 24px;
}

.template-download-btn:hover {
    background: #e0e0e0;
}

input[type="checkbox"]:disabled + label {
    color: gray;
    cursor: not-allowed;
    text-decoration: line-through;
}