/* -------------------- Dropdown Styles -------------------- */
.account-dropdown-container {
    position: relative;
    display: inline-block;
  }
  
  .account-btn {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    gap: 8px;
  }
  
  .account-btn:hover {
    background-color: #f5f5f5;
  }
  
  .account-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .dropdown-icon {
    margin-left: auto;
    font-size: 10px;
  }
  
  .dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    width: 220px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    overflow: hidden;
  }
  
  .dropdown-menu.show {
    display: block;
  }
  
  .dropdown-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
  }
  
  .dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
  }
  
  .dropdown-header span {
    font-weight: bold;
    color: #333;
  }
  
  .dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
  }
  
  .dropdown-item:hover {
    background-color: #f5f5f5;
  }
  
  /* -------------------- Modal Styles -------------------- */
  .modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
  }
  
  .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
  }
  
  .close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
  }
  
/* Ensure the Manage Account Modal is shown when it has the 'show' class */
/* Ensure that when the modal has the "open" class it is visible */
#manageAccountModal.open {
    display: flex !important;
    visibility: visible !important;
  }
/* Manage Account Modal (override any conflicting modal rules) */
#manageAccountModal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5); /* dim overlay */
    justify-content: center;
    align-items: center;
    z-index: 10000;
  }
  
  #manageAccountModal.open {
    display: flex; /* shows the modal as flex container */
  }
  
  #manageAccountModal .modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
  }
    /* Modern Account Table inside Modal */
.account-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin-bottom: 20px;
  }
  
  .account-table th {
    text-align: left;
    padding: 8px 10px;
    vertical-align: middle;
    color: #555;
    font-weight: 600;
    white-space: nowrap;
  }
  
  .account-table td {
    padding: 8px 10px;
  }
  
  .account-table input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
  }
  
  /* Modal Overrides (keeping your existing modal rules) */
  .modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
  }
  
  .modal.open {
    display: flex !important;
    visibility: visible !important;
  }
  
  .modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
  }
  
  /* Close Button */
  .close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
  }
  
  /* Optional: Style for status messages */
  .manage-status {
    text-align: center;
    color: green;
    margin-bottom: 10px;
  }
  
  /* Form Actions */
  .form-actions {
    text-align: right;
  }
  
  .plus-white {
    font-size: 1.5rem;      /* adjust size */
    color: white;           /* makes it white */
    /* optional: add background or padding as needed */
  }
