/* =========================================== */
/* 🔵 VARIABLES / THEME GLOBAL */
/* =========================================== */
:root {
  --bg1: #081120;
  --bg2: #0d1830;
  --card: #121f3d;
  --accent: #2a64f6;
  --accent-hover: #1d4fe0;
  --success: #00d27a;
  --error: #e53935;
  --muted: #9fb0d9;
  --ink: #f0f4ff;
  --radius: 14px;
  --shadow: 0 8px 25px rgba(0, 0, 0, 0.55);
  --font-main: "Inter", "Poppins", sans-serif;
}

/* =========================================== */
/* 🔵 GLOBAL */
/* =========================================== */
body {
  margin: 0;
  font-family: var(--font-main);
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
  color: var(--ink);
}

/* =========================================== */
/* 🔵 LOGIN PAGE */
/* =========================================== */
body.login-page {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at top, #0e1835, #050a1a);
}

/* CARD LOGIN PREMIUM */
.login-card {
  background: var(--card);
  padding: 3rem 2.5rem;
  width: 380px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  animation: fadeIn 0.6s ease-out;
}

/* TITRE LOGIN */
.login-card h1 {
  font-size: 2rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* SOUS-TITRE LOGIN */
.login-card h2 {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--muted);
}

/* INPUT LOGIN */
.login-card input {
  background: #101b33;
  border: 1px solid #233458;
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  width: 100%;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: 1rem;
}

.login-card input:focus {
  border-color: var(--accent);
  outline: none;
}

/* BOUTON PREMIUM */
button.submit {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #2a64f6, #00d27a);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

button.submit:hover {
  transform: translateY(-2px);
}

/* =========================================== */
/* 🔵 LOGO PREMIUM */
/* =========================================== */
.logo img {
  width: 95px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  filter: drop-shadow(0 0 8px rgba(42, 100, 246, 0.7));
}

/* =========================================== */
/* 🔵 TABLES (Dashboard) */
/* =========================================== */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

th, td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #1f2a4a;
}

th {
  background: #16274b;
  color: var(--muted);
}

tr:hover {
  background: #182b55;
}

/* =========================================== */
/* 🔵 FOOTER */
/* =========================================== */
footer {
  text-align: center;
  padding: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* =========================================== */
/* 🔵 ANIMATION */
/* =========================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================

   🏪 MULTISITE
   Page : Ajouter un établissement
========================================== */

.site-create-wrapper{
    min-height:calc(100vh - 120px);
    display:flex;
    align-items:flex-start;
    justify-content:center;
    padding:48px 28px 80px;
}

.site-create-card{
    width:100%;
    max-width:760px;
    padding:40px;
    border:1px solid rgba(255,255,255,0.08);
    border-radius:24px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.018)
        );
    box-shadow:0 24px 70px rgba(0,0,0,0.28);
}

.site-create-header{
    text-align:center;
    margin-bottom:34px;
}

.site-icon{
    width:64px;
    height:64px;
    margin:0 auto 18px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:18px;
    background:rgba(215,173,82,0.12);
    border:1px solid rgba(215,173,82,0.24);
    font-size:30px;
}

.site-create-header h1{
    margin:0;
    color:#f5f1eb;
    font-size:34px;
    line-height:1.15;
}

.site-create-header p{
    max-width:540px;
    margin:12px auto 0;
    color:#9d968e;
    font-size:15px;
    line-height:1.65;
}

.site-create-form{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.form-group{
    display:flex;
    flex-direction:column;
    gap:9px;
}

.form-group label{
    color:#d9d3cc;
    font-size:13px;
    font-weight:700;
}

.form-group input{
    width:100%;
    min-height:50px;
    box-sizing:border-box;
    padding:0 16px;
    border:1px solid rgba(255,255,255,0.09);
    border-radius:13px;
    outline:none;
    background:rgba(13,15,18,0.72);
    color:#f4f0ea;
    font:inherit;
    transition:.2s ease;
}

.form-group input::placeholder{
    color:#68635d;
}

.form-group input:focus{
    border-color:rgba(215,173,82,0.72);
    box-shadow:0 0 0 4px rgba(215,173,82,0.09);
    background:rgba(13,15,18,0.95);
}

.grid-two{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:18px;
}

.site-actions{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;
    padding-top:10px;
}

.btn-cancel,
.btn-create{
    min-height:46px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 20px;
    border-radius:12px;
    font-size:14px;
    font-weight:800;
    text-decoration:none;
    transition:.2s ease;
}

.btn-cancel{
    border:1px solid rgba(255,255,255,0.09);
    background:transparent;
    color:#c4beb6;
}

.btn-cancel:hover{
    background:rgba(255,255,255,0.05);
    color:#fff;
}

.btn-create{
    border:1px solid rgba(215,173,82,0.55);
    background:linear-gradient(135deg,#c99b3f,#e0b85f);
    color:#17130c;
    cursor:pointer;
    box-shadow:0 10px 28px rgba(201,155,63,0.18);
}

.btn-create:hover{
    transform:translateY(-1px);
    box-shadow:0 14px 32px rgba(201,155,63,0.25);
}

@media (max-width:700px){
    .site-create-wrapper{
        padding:24px 16px 50px;
    }

    .site-create-card{
        padding:26px 20px;
        border-radius:18px;
    }

    .site-create-header h1{
        font-size:28px;
    }

    .grid-two{
        grid-template-columns:1fr;
    }

    .site-actions{
        flex-direction:column-reverse;
    }

    .btn-cancel,
    .btn-create{
        width:100%;
        box-sizing:border-box;
    }
}