body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #6a11cb, #2575fc);
    color: rgb(13, 0, 0);
    font-weight: bold;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header {
    width: 100%;
    background-color: #8845e4;
    padding: 1em 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

header h1 {
    margin: 0;
    padding: 0 1em;
    font-size: 2em;
}

header nav {
    margin-right: 1em;
}

header nav a {
    color: white;
    text-decoration: none;
    margin: 0 1em;
    font-size: 1.2em;
}

header nav a:hover {
    text-decoration: underline;
}

.container {
    text-align: center;
    margin-top: 2em;
}

h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
}

.account-holder-list, .account-list {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.account-holder-item, .account-item {
    border: 5px solid #06010040;
    background: rgba(255, 255, 255, 0.264);
    padding: 1em;
    margin: 1em;
    border-radius: 10px;
    width: 300px;
    text-align: center;
}

.account-holder-item a {
    color: rgb(7, 5, 5);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.5em;
}

.dropdown button {
    background-color: #ef9a80;
    font-weight: bold;
    color: rgb(13, 0, 0);
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 10px;
}

.dropdown button:hover {
    background-color: #e4b583;
    color: rgb(13, 0, 0);
}

.dropdown-content {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 10px;
}


span {
    font-size: 1em;
}

.form-container {
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    width: 100%;
    max-width: 600px;
    text-align: left;
}

form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

form input, form select {
    margin: 10px 0;
    padding: 10px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    width: 48%;
    box-sizing: border-box;
}

form input[type="submit"] {
    background-color: #afa54c;
    font-weight: bold;
    color: rgb(12, 0, 0);
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}

form input[type="submit"]:hover {
    background-color: #ef9a80;
}
.add-account-btn{
    margin: 10px 0;
    padding: 10px;
    font-size: 25px;
    border: none;
    border-radius: 5px;
    background-color: #d16ea9;
    color: rgb(13, 0, 0);
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}
.table-container {
    width: 10000px;
    margin-top: 90px;
}

table {
    width: 10000px;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    width: 10000px;
    border: 1px solid #aa1515;
    padding: 10px;
}

table th {
    width: 10000px;
    background-color: #4CAF50;
    color: rgb(222, 111, 13);
}
.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.5); /* Semi-transparent background */
}

.modal-content {
background-color: #150f01;
margin: 5% auto;
padding: 10px;
border: 5px solid #c9f919;
height: 50%;
width: 80%; /* Adjust the width as needed */
max-width: 400px;
text-align: center;
}

.close {
color: #d21010;
float: right;
font-size: 28px;
font-weight: bold;
}

.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}

.qrCode {
max-width: 100%; /* Ensures the QR code image doesn't exceed its container */
height: auto; /* Maintains aspect ratio */
display: block; /* Ensures it's displayed as a block element */
margin: 0 auto; /* Centers the image horizontally */
max-height: 50vh; /* Limit the maximum height to 70% of the viewport height */
}

.bg {
    animation:slide 3s ease-in-out infinite alternate;
    background-image: linear-gradient(-60deg, #6c3 50%, rgb(0, 255, 251) 50%);
    bottom:0;
    left:-50%;
    opacity:.5;
    position:fixed;
    right:-50%;
    top:0;
    z-index:-1;
  }
  
  .bg2 {
    animation-direction:alternate-reverse;
    animation-duration:4s;
  }
  .bg3 {
    animation-duration:5s;
  }

  @keyframes slide {
    0% {
      transform:translateX(-25%);
    }
    100% {
      transform:translateX(25%);
    }
  }
