body {
    background-color: #1a1a1a;
    color: #fff;
    font-family: Arial, sans-serif;
}

h1, h2 {
    text-align: center;
}

h1 {
    margin-top: 50px;
}

#myForm, #searchForm, #cardDetails, #loginForm {
    margin: 30px auto;
    width: 700px;
}

#methodForm, #methodDetails {
    margin: 30px auto 30px 280px;
    width: 800px;
}

label {
    display: block;
    margin-bottom: 10px;
}

input[type="text"],
input[type="password"] {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #333;
    color: #fff;
    margin-bottom: 20px;
}

input[type="submit"] {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #428bca;
    color: #fff;
    cursor: pointer;
}

.alert {
    color: #f44336;
    margin-top: 60px;
    text-align: center;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 30px auto;
    width: 300px;
}

li {
    margin-bottom: 10px;
}

#myModal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

#myModal > div {
    background-color: #333;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
    text-align: left;
    font-size: 90%;
}

#myModal p {
    margin-bottom: 20px;
}

#myModal button {
    background-color: #428bca;
    color: #ffffff;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

#myModal button:hover {
    background-color: #3071a9;
}

.modal-line {
    padding-bottom: 5px;
    font-size: smaller;
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}
  
.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.clentRequestIDsTable {
    width: 70%;
    border-collapse: collapse;
    border: 1px solid #428bca;
    margin-left: 300px;
    font-size: 90%;
}

.experiencePackagesTable {
    width: 78%;
    border-collapse: collapse;
    border: 1px solid #428bca;
    margin-left: 270px;
    font-size: 90%;
}

.cancellationReasonsTable {
    width: 30%;
    border-collapse: collapse;
    border: 1px solid #428bca;
    margin: 0 auto;
    font-size: 90%;
}

.paymentMethodsTable {
    width: 73%;
    border-collapse: collapse;
    border: 1px solid #428bca;
    margin-left: 280px;
    font-size: 90%;
}

.linksTable table {
    width: 39.5%;
    border-collapse: collapse;
    border: 1px solid #428bca;
    margin-left: 16.5%;
    font-size: 90%;
}

.b2bNewOrdersTable table {
    width: auto;
    border-collapse: collapse;
    border: 1px solid #428bca;
    margin-left: 16.5%;
    margin-top: 6%;
    font-size: 90%;
}

.enabled {
    color: #28A745; 
}

.disabled {
    color: #DC3545;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #428bca;
}

th {
    background-color: #428bca;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    outline: none;
}
  
.modern-button {
    position: absolute;
    background-color: #428bca;
    color: #ffffff;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    vertical-align: bottom;
}
  
.modern-button:hover {
    background-color: #3071a9;
}

.modern-button-link-search {
    position: absolute;
    background-color: #428bca;
    color: #ffffff;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    vertical-align: bottom;
    margin-bottom: 0%;
}
  
.modern-button-link-search:hover {
    background-color: #3071a9;
}

.enable-disable-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.enable-disable-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.enable-disable-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.enable-disable-toggle .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.enable-disable-toggle input:checked + .slider {
    background-color: #2196F3;
}

.enable-disable-toggle input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

.enable-disable-toggle input:checked + .slider:before {
    transform: translateX(26px);
}

.enable-disable-toggle .slider.round {
    border-radius: 34px;
}

.enable-disable-toggle .slider.round:before {
    border-radius: 50%;
}

#loginForm {
    width: 300px;
    height: 400px;
    margin: 0 auto;
    padding: 50px;
    background-color: #111;
    border-radius: 10px;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#loginForm label, #loginForm input {
    display: block;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: medium;
}

.sidenav {
    height: 100%;
    width: 15%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    padding-bottom: 40px;
}

.sidenav a {
    padding: 18px 8px 6px 12px;
    text-decoration: none;
    font-size: 18px;
    color: #818181;
    display: block;
}
  
.sidenav a:hover {
    color: #f1f1f1;
}

.main {
    margin-left: 250px;
    padding: 0px 10px;
}
  
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}

#logout-button {
    position: absolute;
    top: 40px;
    right: 50px;
}

.logout-icon {
    width: 40px;
    height: 40px;
    transition: opacity 0.3s;
}

.logout-icon:hover {
    opacity: 0.8;
}

.logout-text {
    display: none;
    position: absolute;
    top: 50px;
    color: white;
    white-space: nowrap;
}

#logout-button:hover .logout-text {
    display: block;
}

.logo-icon {
    display: block;
    margin: 5%;
    width: 40px;
    height: 40px;
}

.logo-text {
    font-family: 'Poppins';
    font-size: 20px;
    position: absolute;
    top: 32px;
    left: 76px;
    color: white;
    white-space: nowrap;
    font-weight: bold;
}

.trademark {
    font-family: 'Poppins';
    font-size: 8px;
    position: absolute;
    top: 48px;
    left: 140px;
    color: white;
    white-space: nowrap;
    font-weight: bold;
}

.select2-container--default .select2-results__option {
    background-color: #fff;
    color: #000;
}

#programSearch {
    max-width: 45%;
    margin-left: 16.5%;
}

#salesChannelSearch {
    position: absolute;
    width: 8%;
    margin-top: 0.5%;
    margin-left: 16.5%;
}

#createLink {
    width: 30%;
    position: absolute;
    top: 27%;
    left: 61%;
    padding-bottom: 5%;
}

.link-create-text {
    position: absolute;
    top: 16%;
    left: 74%;
}

.link-update-text {
    position: absolute;
    top: 16%;
    left: 61%;
}

#linkSearch {
    width: 37%;
    position: absolute;
    top: 27%;
    left: 61%;
}

#linkDetails {
    width: 37%;
    position: absolute;
    top: 40%;
    left: 61%;
    padding-bottom: 10%;
}

#programDetails {
    width: 37%;
    position: absolute;
    left: 16.5%;
    padding-bottom: 5%;
}

#merchantDetails {
    width: 37%;
    position: absolute;
    left: 61%;
    padding-bottom: 5%;
}

#agreementDetails {
    width: 37%;
    position: relative;
    top: 690px;
    left: 16.5%;
    padding-bottom: 5%;
}

.row {
    display: flex;
    justify-content: space-between;
}

.row-links-search {
    display: flex;
    justify-content: space-between;
}

.input-container {
    flex: 1;
    margin-right: 6%;
}

.input-container-links-search {
    flex: 1;
    margin-right: 6%;
    margin-top: 3.5%;
}

.input-container-link-search-box{
    flex: 1;
    margin-right: 42.5%;
}

.reference-link {
    cursor: pointer;
}

.create-update-toggle {
    position: absolute;
    display: inline-block;
    width: 60px;
    height: 34px;
    top: 16.8%;
    left: 67.2%;
}

.create-update-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.create-update-toggle .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #78C1F3;
    transition: .4s;
    border-radius: 34px;
}

.create-update-toggle .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.create-update-toggle input:checked + .slider {
    background-color: #FBA1B7;
}

.create-update-toggle input:checked + .slider:before {
    transform: translateX(26px);
}

.create-update-toggle .slider.round {
    border-radius: 34px;
}

.create-update-toggle .slider.round:before {
    border-radius: 50%;
}

#orderDateFilter {
    position: absolute;
    top: 16.8%;
    left: 16.5%;
}

#processPdf {
    width: 37%;
    position: relative;
    left: 16.5%;
    padding-top: 3%;
    padding-bottom: 5%;
}

.modern-dropdown {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #333;
    color: #fff;
    margin-bottom: 20px;
}

.required::after {
    content: ' *';
    color: red;
}

.programOrMerchant {
    position: absolute;
    top: 16.8%;
    left: 16.5%;
}

#programContentSearch {
    position: absolute;
    top: 30%;
    left: 16.5%;
    width: 45%;
}

#merchantContentSearch {
    position: absolute;
    top: 30%;
    left: 16.5%;
    width: 45%;
}

#image-container {
    position: absolute;
    top: 25%;
    left: 65%;
    display: none;
}

#image-container a {
    display: block;
    margin-bottom: 10px;
    height: 120px;
    width: 180px;
}

#image-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

#html-container {
    position: absolute;
    top: 25%;
    left: 80%;
    display: none;
}

#html-container span {
    display: block;
    margin-bottom: 3px;
}

#existing-profiles-images {
    position: absolute;
    top: 15%;
    left: 65%;
    display: none;
}

#content {
    position: absolute;
    top: 53%;
    left: 16.5%;
    display: none;
    padding-bottom: 5%;
}

#editorjs {
    background-color: #fff;
    color: #000;
    padding: 10px;
    min-height: 200px;
}