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

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

/* LOGIN FULLSCREEN */
.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: 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: rgba(63, 171, 134, 0.4); /* léger voile pour lisibilité */
  z-index: 1;
}
.login-left .left-content {
  z-index: 2;
  max-width: 400px;
  text-align: center;
}
.login-left h1 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4;
}
.login-left .logo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}
.login-left .logo span {
  color: #ffffff;
}

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

.login-card {
  width: 400px;
}

/* ... 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 */