body {
  background: rgba(245, 245, 245, 1);
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  flex-direction: column;
  background: rgba(245, 245, 245, 1);
}

.viewpage {
  background-color: rgba(245, 245, 245, 1);
  width: 100%;
  display: flex;
  flex-direction: column;
  /* Allow cards to wrap to the next line */
  align-items: center;
  justify-content: center;
  gap: 50px; /* Add space between cards */
  margin-top: 40px;
}



/*
HEADER ELEMENTS
 */



.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 8vh;
  margin-top: 25px;
}

/*
left header
 */


.header-left {
  display: flex;
  align-items: center;
  margin-left: 100px;
  margin-top: 20px;
}



/*
center header
 */

.header-nav {
  padding: 5px;
  padding-left: 20px;
  width: 70vh;
  height: 5vh;
  display: inline-grid;
  border-radius: 35px;
  margin: 0 auto;
  border: 2px solid #7a7a7a1f;
}

span.header-nav-title {
  color: #4E4E4E;
  font-family: Roboto;
  font-size: 14px;
  font-weight: 500;
}

span.header-nav-desc {
  color: #7A7A7A;
  font-family: 'Roboto';
  font-size: 14px;
}



/*
right header
 */
.header-buttons {
  position: absolute;
  display: flex;
  top: 10px;
  right: 20px;
  align-items: center;
}



.wallet {
  display: flex;
  flex-direction: column;
  width: 250px;
  background: #4E4E4E;
  height: 110px;
  border-radius: 30px;
  margin-right: 50px;
  position: relative;
  padding: 10px;
}

.wallet-title {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
}

.wallet-info {
  bottom: 10px;
  left: 10px;
  display: flex;
  margin: auto ;
  align-items: center;
  gap: 10px;
}

.balance-amount-hide{
  display: none;
}
.balance-amount {
  display: none;
  color: #fff;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
}

.toggle-balance {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
}

.eye-icon {
  display: none;
  transition: opacity 0.3s ease-in-out;
  font-size: 20px;
}


.dropdown {
  position: relative;
  display: inline-block;
}

.profile-pic {
  cursor: pointer;
  border-radius: 50%;
}


.dropdown-content {
  display: none;
  position: absolute;
  top: 60px;
  right: 0;
  background-color: #fff;
  min-width: 200px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  z-index: 1000;
  padding: 10px 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  font-family: Arial, sans-serif;
}

.dropdown-content a {
  display: flex;
  align-items: center;
  color: #333;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 14px;
  transition: background-color 0.2s ease-in-out;
}

.dropdown-content a:hover {
  background-color: #f5f5f5;
}

.show {
  display: block;
}

.menu-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  text-decoration: none;
  color: inherit;
}

.icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #333;
  font-size: 20px;
  margin-top: 5px;
  margin-right: 10px;
  flex-shrink: 0;
}

.text {
  flex: 1;
  font-size: 16px;
}

.dropdown:hover .dropdown-content {
  display: block;
}
/* Ajouter un délai sur la fermeture */
.dropdown-content {
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* SETTINGS PAGE */

.settings-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px;
  height: 100vh;
}
.settings-container h1{
  font-family: 'Montserrat', sans-serif;

}
.settings-form {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.settings-form label {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}

.settings-form input,
.settings-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-family: 'Montserrat', sans-serif;
}

.settings-form button {
  background-color: #1877f2;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
}

.settings-form button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
