/* ======================================================
   GLOBAL RESET & BASE
====================================================== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: #f4f6f9;
  color: #0f172a;
}

/* ======================================================
   LINKS & BUTTONS
====================================================== */

a {
  text-decoration: none;
  color: inherit;
}

.btn-primary {
  padding: 12px 22px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 10px;
  font-weight: 600;
  display: inline-block;
}

/* ======================================================
   NAVBAR (LANDING)
====================================================== */

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 112px;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 20;
}

.navbar-left img {
  height: 88px;
}

.navbar-right a {
  margin-left: 28px;
  font-weight: 500;
  font-size: 1rem;
  color: #ffffff;
}

/* ======================================================
   RESPONSIVE NAVBAR
====================================================== */

@media (max-width: 768px) {
  .navbar {
    height: 76px;
    padding: 0 20px;
  }

  .navbar-left img {
    height: 52px;
  }

  .navbar-right a {
    margin-left: 16px;
    font-size: 0.95rem;
  }
}

/* ======================================================
   LOGIN / AUTH LAYOUT
====================================================== */

.login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0ea5a4, #1e3a8a);
}

.login-box {
  width: 900px;
  max-width: 95%;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* ======================================================
   LOGIN LEFT
====================================================== */

.login-left {
  background: #4f5d8c;
  color: #ffffff;
  padding: 48px;
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.brand img {
  height: 42px;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ======================================================
   GRACE VALUES
====================================================== */

.grace-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.grace-container h2 {
  margin-bottom: 32px;
}

.grace-values {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.grace-word {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
  letter-spacing: 0.4px;
}

.grace-word span {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-right: 2px;
}

/* ======================================================
   LOGIN RIGHT
====================================================== */

.login-right {
  padding: 48px;
}

.login-right h2 {
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

.btn-login {
  width: 100%;
  padding: 14px;
  background: #10b981;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
}

.login-footer {
  margin-top: 16px;
  text-align: right;
}

.login-footer a {
  font-size: 0.9rem;
  color: #2563eb;
}

/* ===============================
   CLOUDFLARE MINI BADGE (GLOBAL)
================================ */

.cf-mini {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;              /* 🔥 un peu plus grand */
  color: #9ca3af;               /* gris lisible */
  opacity: 0.8;
  margin-top: 28px;             /* espace vertical */
}

.cf-mini {
  margin-top: 24px;
}


.cf-mini img {
  height: 22px;
  width: auto;
}

/* Position bas de page landing */
.landing-footer {
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  pointer-events: none;
}


/* ======================================================
   DASHBOARD BASE (si partagé)
====================================================== */

.dashboard-container {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content {
  padding: 30px;
}

/* ======================================================
   RESPONSIVE LOGIN
====================================================== */

@media (max-width: 768px) {
  .login-box {
    grid-template-columns: 1fr;
  }

  .login-left {
    display: none;
  }
}
 .verify-wrapper{

    display:flex;
    justify-content:center;
    align-items:center;
    height:350px;

}


.verify-card{

    width:420px;
    background:white;
    padding:35px;
    border-radius:12px;
    box-shadow:0 12px 35px rgba(0,0,0,0.15);
    text-align:center;

}


.product-name{

    font-weight:600;
    margin-bottom:10px;

}


.verify-text{

    color:#666;
    margin-bottom:25px;

}


.code-container{

    display:flex;
    justify-content:center;
    gap:10px;
    margin-bottom:25px;

}


.code-input{

    width:50px;
    height:60px;
    text-align:center;
    font-size:22px;
    border-radius:8px;
    border:1px solid #ddd;

}


.code-input:focus{

    border-color:#2563eb;
    box-shadow:0 0 0 2px rgba(37,99,235,0.2);
    outline:none;

}


.verify-buttons{

    display:flex;
    justify-content:center;
    gap:15px;

}


.btn-confirm{

    background:#2563eb;
    color:white;
    padding:10px 18px;
    border:none;
    border-radius:6px;
    cursor:pointer;

}


.btn-cancel{

    background:#eee;
    border:none;
    padding:10px 18px;
    border-radius:6px;
    cursor:pointer;

}

.support-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.support-modal-box {
  background: white;
  padding: 25px;
  border-radius: 12px;
  width: 400px;
  max-width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: none;
  font-size: 18px;
  cursor: pointer;
}

.modal-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.dashboard-card {
  cursor: pointer;
  transition: 0.2s;
}

.dashboard-card:hover {
  transform: translateY(-3px);
}

.dashboard-card.active-card {
  border: 2px solid #4f46e5;
}