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

.container {
    display: flex;
}

.sidebar {
    width: 250px;
    background-color: #2d2d44;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.logo {
    font-size: 24px;
    margin-bottom: 20px;
}

.logo_img {
    text-align: center;
    margin: 20px 0;
}
.logo_img img {
 max-width: 170px; /* Adjust the width as needed */
 height: auto;
}

.nav ul {
    list-style: none;
    padding: 0;
}

.nav ul li {
    margin: 15px 0;
}

.nav ul li a {
    text-decoration: none;
    color: #bbb;
}

.nav h3 {
    margin: 20px 0 10px;
}

.logout a {
    text-decoration: none;
    color: #bbb;
}

.main-content {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.header input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 300px;
}

.user-actions {
    display: flex;
    align-items: center;
}

.bell-icon {
    width: 34px;
    height: 34px;
    background-color: #444;
    border-radius: 50%;
    margin-left: 20px;
}

.user-live {
    width: 14px;
    height: 14px;
    background-color: #008000;
    border-radius: 50%;
    margin-left: 20px;
    animation: pulse 1s infinite;
}

.user-suspended {
    width: 14px;
    height: 14px;
    background-color: #C70039;
    border-radius: 50%;
    margin-left: 20px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    50% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(0.5);
        opacity: 1;
    }
}


.dashboard .cards {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.card {
    background-color: #2d2d44;
    padding: 20px;
    border-radius: 10px;
    width: 22%;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 24px;
}

.card-body {
    font-size: 34px;
}

.chart {
    background-color: #2d2d44;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.exchange-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.exchange {
    background-color: #2d2d44;
    padding: 20px;
    border-radius: 10px;
    width: 47%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.exchange h2 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #bbb;
}

.form-group input {
    width: 96%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #3d3d5c;
    color: #fff;
}

.form-group select {
    width: 98%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #3d3d5c;
    color: #fff;
}

.exchange button {
    width: 98%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: #fff;
    cursor: pointer;
}

.exchange button:hover {
    background-color: #45a049;
}

.exchange p {
    margin-top: 15px;
    color: #bbb;
}

.transactions {
    background-color: #2d2d44;
    padding: 20px;
    border-radius: 10px;
}

.transactions table {
    width: 100%;
    border-collapse: collapse;
}

.transactions th, .transactions td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #444;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  .square-image {
    width: 100px;
    height: 100px;
  }
  
  .copy-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
  }
  
  #copyButton,
  #closeModal {
    padding: 10px 20px;
    cursor: pointer;
  }
  





  /* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative; /* Make this element the reference for absolutely positioned elements inside it */
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    text-align: center;
}

.modal-content h2,
.modal-content p {
    color: black;
}

.close {
    color: black;
    font-size: 28px;
    font-weight: bold;
    position: absolute; /* Position it absolutely within .modal-content */
    right: 20px;
    top: 10px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.square-image {
    width: 200px;
    height: 200px;
    margin: 20px auto;
}

.copy-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.copy-section p {
    margin-bottom: 10px;
}

#copyButton,
#closeModal {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    margin: 10px 0;
}

#copyButton {
    background-color: #4CAF50;
    color: white;
}

#copyButton:hover {
    background-color: #45a049;
}

#closeModal {
    background-color: #008CBA;
    color: white;
}

#closeModal:hover {
    background-color: #007bb5;
}
