@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
}

body {
  background: #F7F9FB;
  color: #2D3436;
}

/* LOGIN FULLSCREEN */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #3fab86, #aad266);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

.login-body {
  height: 100vh;
  width: 100vw;
  background: #F7F9FB;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  overflow: hidden;
}

/* LEFT SIDE with background image */
.login-left {
  flex: 1;
  position: relative;
  background: linear-gradient(135deg, #3FAB86, #AAD266);
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
  /*
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  */
  background-image: url("/assets/images/family-illustration.png"); /* ← ton illustration générée */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.login-left .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(63, 171, 134, 0) 0%, rgba(63, 171, 134, 0.51) 100%); /* léger voile pour lisibilité */
  z-index: 1;
}
.login-left .left-content {
  z-index: 2;
  max-width: 400px;
  text-align: center;
  grid-row: span 2/span 2;
}
.login-left .div3 {
  grid-row-start: 4;
  display: flex;
  justify-content: center;
}
.login-left h1 {
  font-size: 38px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}
.login-left .logo {
  font-size: 28px;
  font-weight: 700;
  padding: 40px;
}
.login-left .logo > img {
  height: 70px;
}
.login-left .logo span {
  color: #ffffff;
}

/* RIGHT SIDE */
.login-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.logo-mobile {
  text-align: center;
  margin-bottom: 30px;
}
.logo-mobile > img {
  height: 50px;
}

.login-card {
  width: 400px;
}
.login-card .title {
  font-size: 18px;
  margin-bottom: 40px;
  text-align: center;
}

/* ... Inputs, buttons, links restent identiques ... */
.input-group {
  position: relative;
  margin-bottom: 18px;
}
.input-group i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #AAA;
}
.input-group input {
  width: 100%;
  padding: 14px 16px 14px 42px;
  border-radius: 14px;
  border: 1px solid #e5e5e5;
  font-size: 14px;
  transition: 0.3s;
}
.input-group input:focus {
  outline: none;
  border-color: #3FAB86;
  box-shadow: 0 0 0 3px rgba(63, 171, 134, 0.15);
}

.remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 25px;
  font-size: 14px;
  color: #666;
}

.btn-gradient {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  font-weight: 600;
  font-size: 15px;
  color: white;
  cursor: pointer;
  background: linear-gradient(135deg, #3FAB86, #AAD266);
  transition: 0.3s;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.extra-links {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.extra-links a {
  text-decoration: none;
  color: #3FAB86;
  transition: 0.2s;
}

.extra-links a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .login-wrapper {
    flex-direction: column;
    height: auto;
  }
  .login-left {
    display: none;
  }
}
/* DASHBOARD */
.layout {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 240px;
  background: linear-gradient(180deg, #3CB371, #2e8b57);
  color: white;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.sidebar nav a {
  display: block;
  padding: 12px 0;
  cursor: pointer;
  opacity: 0.9;
}

.sidebar nav a.active {
  font-weight: bold;
}

.main {
  flex: 1;
  padding: 40px;
}

.header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.stats {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  flex: 1;
}

.content {
  display: flex;
  gap: 30px;
}

.table-card, .shopping-card {
  background: white;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.table-card {
  flex: 2;
}

.shopping-card {
  flex: 1;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

th, td {
  padding: 12px;
  text-align: left;
}

.btn-small {
  background: #2F80ED;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}/*# sourceMappingURL=style.css.map */