
.mime-dashboard-header {
  width: 100%;
  background-color: #c0dbf1;
  padding: 25px 20px;
  border-bottom: 2px solid black;
  text-align: center;
}

.mime-dashboard-header h2 {
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
  font-weight: bold;
}

/* Wrap sidebar and content so they sit below the header * /
.mime-dashboard-inner {
  display: flex;
  flex-wrap: wrap;
}
*/


.mime-dashboard {
  display: flex;
  flex-wrap: nowrap;
  margin: 0 auto;
  background-color: #e9f3fb;
  flex: 1 1 auto;
  border-radius: 10px;
	min-height: 440px;
	max-width: 100%;
}

.mime-dashboard-sidebar {
  
  background-color: #d2e7f8;
  border-right: 1px solid black;
  padding: 10px 0;
  flex: 0 0 auto;
  min-width: 160px;
  display: flex;
  flex-direction: column;
}

.mime-tab-link {
  display: block;
  width: 100%;
  padding: 10px 16px;
  text-align: left;
  font-weight: bold;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
  color: black;
}

.mime-tab-link.mime-tab-link-logout {
	margin-top: auto;
}

.mime-tab-link:hover,
.mime-tab-link.active {
  background-color: #c0dbf1;
}

.mime-dashboard-content {
  padding: 20px 0;
  box-sizing: border-box;
  flex: 1;
  max-width: 100%;
  min-width: 0;
}

.mime-tab-panel {
  display: none;
  height: 100%;
}

.mime-tab-panel.visible {
  display: block;
}

.mime-element-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


@media (max-width: 767px ) {
	.mime-dashboard {
		flex-wrap: wrap;
		min-height: auto;
	}
	.mime-dashboard-sidebar {
		display: flex;
		width: 100%;
	}
	.mime-dashboard-content {
		min-width: auto;
		padding: 0;
	}
	.mime-form {
		padding: 0;
	}
	
}

/* Responsive: two-column layout for wider screens */
@media (min-width: 768px) {
/*
  .mime-dashboard-sidebar {
    width: 20%;
    min-width: 180px;
  }

  .mime-dashboard-content {
    width: 80%;
  }

  .mime-tab-link {
    font-size: 0.95rem;
    padding: 10px 16px;
  } */
}


/* ---------- Memberships Tab -------------------------------- */

.mime-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  font-size: 0.9em;
}
.mime-table th,
.mime-table td {
  border: 1px solid #ccc;
  padding: 0.5em;
  text-align: left;
}

.mime-table th {
	background-color: #d2e7f8;
}

.membership-active {
  background-color: #eaffea;
}
.membership-expired {
  background-color: #ffeeee;
  opacity: 0.6;
}

.mime-table-action {
  font-size: 0.85em;
  line-height: 1.4;
  margin-bottom: 0.2em;
}

.mime-table-action:last-child {
  margin-bottom: 0;
}
.mime-table-action a {
  color: #0073aa;
  text-decoration: none;
  font-size: 0.9em;
}

.mime-table-action a:hover {
  text-decoration: underline;
}

.mime-status-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px; /* Adjust spacing between status and actions */
}

.mime-status-label {
  white-space: nowrap;
  padding-top: 0.15em;
}

.mime-action-links {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}


/* ---------- Login Tab -------------------------------- */


.password-wrapper {
  position: relative;
  display: inline-block;
}

.password-wrapper input {
  padding-right: 2.5em; /* space for eye icon */
}

.toggle-password {
  position: absolute;
/*  right: 0.5em; */
  top: 50%;
  transform: translateY(-80%);
  cursor: pointer;
  width: 1.5em;
  height: 1.5em;
  background: transparent;
  border: none;
}

/* Eye icon base */
.toggle-password::before {
  content: '👁️'; /* fallback emoji icon */
  font-size: 1.2em;
  color: #666;
}

.toggle-password.showing::before {
  content: '🙈'; /* or any other visual indicator */
}
