* {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  box-sizing: border-box;
}

body {
  background: #f5f7fb;
}

/* SIDEBAR */
.sidebar {
  width: 240px;
  height: 100vh;
  background: #111827;
  color: #fff;
  position: fixed;
  padding: 20px;
}

.sidebar h2 {
  margin-bottom: 30px;
}

.sidebar a {
  display: block;
  color: #9ca3af;
  padding: 10px;
  text-decoration: none;
  border-radius: 8px;
}

.sidebar a:hover {
  background: #1f2937;
  color: #fff;
}

/* MAIN */
.main {
  margin-left: 240px;
  padding: 20px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 20px;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.card h3 {
  font-size: 14px;
  color: #6b7280;
}

.card h1 {
  margin-top: 10px;
}

/* TABLE */
.table {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 20px;
}

.table th, .table td {
  padding: 12px;
  text-align: left;
}

.table th {
  background: #f9fafb;
}

button {
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-danger {
  background: #dc2626;
  color: white;
}

/* MOBILE */
@media(max-width:768px){
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .main {
    margin-left: 0;
  }
}

.user-name {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 20px;
}

/* FORM */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display:block;
  margin-bottom:5px;
  font-weight:500;
}

.form-group input,
.form-group textarea {
  width:100%;
  padding:10px;
  border-radius:8px;
  border:1px solid #ddd;
}

/* PAGE HEADER */
.page-header {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: bold;
}

/* STATUS */
.status-card {
  padding:20px;
  border-radius:10px;
  text-align:center;
}

.status-active { background:#e6fffa; color:green; }
.status-temp { background:#fff7ed; color:orange; }
.status-block { background:#fee2e2; color:red; }

/* =========================
PREMIUM LANDING + LOGIN
========================= */

.landing-body,
.login-body{
  background:#0f172a;
  color:white;
  min-height:100vh;
  overflow-x:hidden;
  position:relative;
}

/* BACKGROUND */
.bg{
  position:fixed;
  width:100%;
  height:100%;
  top:0;
  left:0;
  z-index:-1;
  background:
    radial-gradient(circle at top left,#2563eb33,transparent 30%),
    radial-gradient(circle at bottom right,#7c3aed33,transparent 30%),
    linear-gradient(135deg,#0f172a,#111827);
}

/* NAVBAR */
.navbar{
  width:100%;
  padding:20px 8%;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo{
  font-size:26px;
  font-weight:bold;
  color:#fff;
}

.nav-links{
  display:flex;
  gap:25px;
}

.nav-links a{
  color:#cbd5e1;
  text-decoration:none;
  transition:0.3s;
}

.nav-links a{

    color:#d1d5db;

    transition:.3s ease;
}

.nav-links a:hover{

    color:#ff8c00;
}

/* HERO */
.hero{
  width:100%;
  min-height:calc(100vh - 80px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:40px 8%;
  gap:60px;
}

/* LEFT */
.hero-left{
  flex:1;
}

.badge{
  display:inline-block;
  padding:10px 18px;
  border-radius:50px;
  background:#2563eb22;
  color:#60a5fa;
  margin-bottom:20px;
  font-size:14px;
}

.hero-left h1{
  font-size:60px;
  line-height:1.1;
  margin-bottom:20px;
}

.hero-left p{
  color:#94a3b8;
  font-size:18px;
  line-height:1.7;
  margin-bottom:35px;
  max-width:650px;
}

.hero-buttons{
  display:flex;
  gap:20px;
}

.btn{
  padding:14px 28px;
  border:none;
  border-radius:14px;
  cursor:pointer;
  font-size:16px;
  transition:0.3s;
  text-decoration:none;
  display:inline-block;
}

.btn-primary{

    background:
    linear-gradient(
        135deg,
        #b71c1c,
        #ff6b00
    );

    color:#fff;

    border:none;

    box-shadow:
    0 10px 30px
    rgba(255,107,0,.20);

    transition:.3s ease;
}

.btn-primary:hover{

    transform:
    translateY(-3px);

    background:
    linear-gradient(
        135deg,
        #c62828,
        #ff8c00
    );

    box-shadow:
    0 18px 40px
    rgba(255,107,0,.30);
}

.btn-outline{

    background:
    rgba(255,107,0,.08);

    border:
    1px solid
    rgba(255,107,0,.22);

    color:#ffb347;

    transition:.3s ease;
}

.btn-outline:hover{

    background:
    rgba(255,107,0,.14);

    border-color:
    rgba(255,107,0,.35);
}

.btn-outline:hover{
  background:#1e293b;
}

/* STATS */
.stats{
  display:flex;
  gap:20px;
  margin-top:50px;
  flex-wrap:wrap;
}

.stat-card{
  background:#111827;
  border:1px solid #1e293b;
  padding:24px;
  border-radius:18px;
  min-width:180px;
}

.stat-card h2{
  margin-bottom:8px;
  font-size:30px;
}

.stat-card p{
  color:#94a3b8;
  font-size:14px;
}

/* HERO RIGHT */
.hero-right{
  width:420px;
  display:flex;
  flex-direction:column;
  gap:25px;
}

.hero-card{
  background:rgba(17,24,39,0.8);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(20px);
  border-radius:24px;
  padding:30px;
}

.hero-card h2{
  margin-bottom:15px;
  font-size:24px;
}

.hero-card p{
  color:#cbd5e1;
  line-height:1.7;
}

/* LOGIN PAGE */
.login-wrapper{
  width:100%;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 8%;
  gap:80px;
}

.login-left{
  flex:1;
}

.login-logo{
  font-size:28px;
  font-weight:bold;
  margin-bottom:30px;
}

.login-left h1{
  font-size:56px;
  line-height:1.1;
  margin-bottom:25px;
}

.login-left p{
  color:#94a3b8;
  line-height:1.8;
  font-size:18px;
  margin-bottom:40px;
  max-width:600px;
}

.login-features{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
}

.feature-box{
  background:#111827;
  border:1px solid #1e293b;
  padding:18px 24px;
  border-radius:16px;
}

/* LOGIN CARD */
.login-card{
  width:420px;
  background:rgba(17,24,39,0.8);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(20px);
  border-radius:28px;
  padding:40px;
  box-shadow:0 10px 40px rgba(0,0,0,0.4);
}

.login-card h2{
  font-size:34px;
  margin-bottom:10px;
}

.login-subtitle{
  color:#94a3b8;
  margin-bottom:30px;
}

.login-card input{
  width:100%;
  padding:16px;
  border-radius:14px;
  border:1px solid #334155;
  background:#0f172a;
  color:white;
  margin-bottom:18px;
  font-size:15px;
}

.login-card input:focus{
  outline:none;
  border-color:#2563eb;
}

.login-card button{
  width:100%;
  padding:16px;
  background:#2563eb;
  border:none;
  border-radius:14px;
  color:white;
  font-size:16px;
  cursor:pointer;
  transition:0.3s;
}

.login-card button:hover{
  background:#1d4ed8;
}

/* MOBILE RESPONSIVE */
@media(max-width:1000px){

  /* HERO */
  .hero{

    flex-direction:column;

    justify-content:center;

    text-align:center;

    padding-top:40px;

    padding-bottom:60px;

  }

  /* LOGIN WRAPPER */
  .login-wrapper{

    flex-direction:column;

    justify-content:flex-start;

    align-items:center;

    text-align:center;

    padding-top:40px;

    padding-bottom:40px;

    gap:35px;

    min-height:auto;

  }

  /* HEADINGS */
  .hero-left h1,
  .login-left h1{

    font-size:40px;

  }

  /* TEXT */
  .hero-left p,
  .login-left p{

    font-size:16px;

  }

  /* BUTTONS */
  .hero-buttons,
  .stats,
  .login-features{

    justify-content:center;

  }

  /* RIGHT SECTION */
  .hero-right{

    width:100%;

    max-width:450px;

  }

  /* LOGIN CARD */
  .login-card{

    width:100%;

    max-width:420px;

    padding:30px 24px;

    margin-top:0;

  }

  /* MOBILE NAVBAR */
  .navbar{

    flex-direction:column;

    gap:18px;

    text-align:center;

  }

  /* KEEP NAV LINKS VISIBLE */
  .nav-links{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:14px;

  }

  .nav-links a{

    font-size:14px;

  }

  /* FEATURE BOXES */
  .feature-box{

    width:100%;

  }

}

/* ==========================
AFFALDEALS PANEL UPGRADE
========================== */

.panel-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:999;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;

    background:rgba(13,13,13,.6);
    backdrop-filter:blur(18px);

    border-bottom:1px solid rgba(255,255,255,.06);
}

.panel-logo{
    font-size:30px;
    font-weight:800;
    color:#fff;
}

.panel-logo span{
    background:linear-gradient(
        90deg,
        #b71c1c,
        #ff6b00
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.panel-nav{
    display:flex;
    gap:30px;
}

.panel-nav a{
    color:#c7c7c7;
    text-decoration:none;
    transition:.3s;
}

.panel-nav a:hover{
    color:#fff;
}

.panel-btn{
    text-decoration:none;
}

.panel-hero{
    min-height:100vh;
    display:grid;
    grid-template-columns:1.1fr .9fr;
    align-items:center;
    gap:60px;

    padding:
    140px 8% 80px;
}

.hero-left h1{
    font-size:68px;
    line-height:1.05;
    margin-bottom:25px;
}

.hero-left h1 span{
    background:linear-gradient(
        90deg,
        #ff6b00,
        #ffb347
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.hero-left p{
    max-width:650px;
    font-size:20px;
    color:#c7c7c7;
    margin-bottom:35px;
}

.panel-stats{
    display:flex;
    gap:20px;
    margin-top:40px;
    flex-wrap:wrap;
}

.dashboard-preview-card{
    background:
    rgba(255,255,255,.04);

    border:
    1px solid rgba(255,255,255,.08);

    border-radius:34px;

    overflow:hidden;

    backdrop-filter:blur(24px);

    box-shadow:
    0 0 60px rgba(255,107,0,.10);
}

.dashboard-header{
    padding:18px 24px;
    display:flex;
    gap:8px;

    border-bottom:
    1px solid rgba(255,255,255,.06);
}

.dot{
    width:12px;
    height:12px;
    border-radius:50%;
}

.red{background:#ff4b4b;}
.orange{background:#ff9900;}
.yellow{background:#ffd84d;}

.preview-body{
    padding:35px;
}

.metric-card{
    margin-bottom:25px;
}

.metric-card h2{
    font-size:54px;
    color:#ff8c00;
}

.metric-label{
    color:#c7c7c7;
}

.mini-dashboard-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.mini-dashboard-card{
    background:
    rgba(255,255,255,.04);

    border:
    1px solid rgba(255,255,255,.06);

    border-radius:22px;

    padding:22px;
}

.mini-dashboard-card h4{
    font-size:28px;
    color:#ff8c00;
}

.mini-dashboard-card span{
    color:#8f8f8f;
}

@media(max-width:992px){

    .panel-hero{
        grid-template-columns:1fr;
        text-align:center;
    }

    .hero-buttons,
    .panel-stats{
        justify-content:center;
    }

    .panel-nav{
        display:none;
    }

    .hero-left h1{
        font-size:42px;
    }
}

/* ==========================
PREMIUM LOGIN PAGE
========================== */

.login-page{

    min-height:100vh;

    display:grid;

    grid-template-columns:
    1.1fr .9fr;

    align-items:center;

    gap:70px;

    padding:
    140px 8% 80px;
}

/* LEFT CONTENT */

.login-content h1{

    font-size:62px;

    line-height:1.08;

    margin-bottom:25px;

    color:#fff;
}

.login-content h1 span{

    background:
    linear-gradient(
        90deg,
        #ff6b00,
        #ffb347
    );

    -webkit-background-clip:text;

    -webkit-text-fill-color:
    transparent;
}

.login-content p{

    max-width:650px;

    font-size:20px;

    color:#c7c7c7;

    margin-bottom:40px;

    line-height:1.8;
}

/* LOGIN CARD */

.premium-login-card{

    background:
    rgba(255,255,255,.04);

    border:
    1px solid rgba(255,255,255,.08);

    backdrop-filter:
    blur(24px);

    border-radius:34px;

    padding:45px;

    box-shadow:
    0 0 60px
    rgba(255,107,0,.10);
}

.login-card-header{

    margin-bottom:35px;
}

.login-card-header h2{

    font-size:36px;

    color:#fff;

    margin-bottom:8px;
}

.login-card-header p{
    color:#9ca3af;
}

/* INPUTS */

.premium-input-group{
    margin-bottom:22px;
}

.premium-input-group label{

    display:block;

    margin-bottom:12px;

    color:#d1d5db;

    font-weight:600;
}

.premium-input-group input{

    width:100%;

    height:62px;

    border-radius:18px;

    border:
    1px solid
    rgba(255,255,255,.08);

    background:
    rgba(255,255,255,.04);

    padding:0 20px;

    color:#fff;

    font-size:15px;

    outline:none;

    transition:.3s;
}

.premium-input-group input:focus{

    border-color:
    rgba(255,107,0,.45);

    box-shadow:
    0 0 25px
    rgba(255,107,0,.15);
}

.premium-input-group input::placeholder{
    color:#6b7280;
}

/* LOGIN BUTTON */

.login-btn{

    width:100%;

    height:62px;

    border:none;

    border-radius:18px;

    font-size:17px;

    font-weight:700;

    cursor:pointer;

    margin-top:10px;
}

.login-footer-text{

    margin-top:22px;

    text-align:center;

    color:#9ca3af;

    font-size:14px;
}

/* MOBILE */

@media(max-width:992px){

    .login-page{

        grid-template-columns:1fr;

        text-align:center;

        padding-top:130px;
    }

    .login-content{

        order:1;
    }

    .premium-login-card{

        order:2;
    }

    .trust-points{
        justify-content:center;
    }

    .login-content h1{
        font-size:42px;
    }

    .login-content p{
        font-size:17px;
    }
}

@media(max-width:600px){

    .premium-login-card{
        padding:28px;
    }

    .login-content h1{
        font-size:34px;
    }
}

.panel-nav a{

    position:relative;
}

.panel-nav a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0%;
    height:2px;

    background:
    linear-gradient(
        90deg,
        #b71c1c,
        #ff6b00
    );

    transition:.3s;
}

.panel-nav a:hover::after{
    width:100%;
}

/* ==========================
PREMIUM PANEL BUTTONS
========================== */

/* HERO BUTTONS */

.hero-btn-primary{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:220px;
    height:58px;

    padding:0 28px;

    border-radius:18px;

    font-size:16px;
    font-weight:700;

    text-decoration:none;

    color:#fff;

    background:
    linear-gradient(
        135deg,
        #b71c1c,
        #ff6b00
    );

    box-shadow:
    0 12px 30px
    rgba(255,107,0,.22);

    transition:.3s ease;
}

.hero-btn-primary:hover{

    transform:
    translateY(-4px);

    box-shadow:
    0 18px 40px
    rgba(255,107,0,.35);
}

.hero-btn-outline{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:220px;
    height:58px;

    padding:0 28px;

    border-radius:18px;

    font-size:16px;
    font-weight:700;

    text-decoration:none;

    color:#ffb347;

    border:
    1px solid
    rgba(255,107,0,.25);

    background:
    rgba(255,107,0,.08);

    transition:.3s ease;
}

.hero-btn-outline:hover{

    transform:
    translateY(-4px);

    background:
    rgba(255,107,0,.14);

    border-color:
    rgba(255,107,0,.40);
}

/* HEADER LOGIN BUTTON */

.header-login-btn{

    display:flex;
    align-items:center;
    justify-content:center;

    height:50px;

    padding:0 24px;

    border-radius:14px;

    text-decoration:none;

    font-weight:700;
    font-size:15px;

    color:#fff;

    background:
    linear-gradient(
        135deg,
        #b71c1c,
        #ff6b00
    );

    box-shadow:
    0 10px 25px
    rgba(255,107,0,.18);

    transition:.3s ease;
}

.header-login-btn:hover{

    transform:
    translateY(-3px);

    box-shadow:
    0 15px 35px
    rgba(255,107,0,.30);
}

/* HEADER NAV TABS */

.panel-nav{

    display:flex;
    align-items:center;
    gap:28px;
}

.panel-nav a{

    color:#d1d5db;

    text-decoration:none;

    font-weight:500;

    position:relative;

    transition:.3s ease;
}

.panel-nav a:hover{
    color:#ff8c00;
}

.panel-nav a::after{

    content:"";

    position:absolute;

    bottom:-8px;
    left:0;

    width:0%;
    height:2px;

    background:
    linear-gradient(
        90deg,
        #b71c1c,
        #ff6b00
    );

    transition:.3s ease;
}

.panel-nav a:hover::after{
    width:100%;
}

/* MOBILE */

@media(max-width:768px){

    .hero-buttons{
        flex-direction:column;
        width:100%;
    }

    .hero-btn-primary,
    .hero-btn-outline{
        width:100%;
    }

    .header-login-btn{
        display:none;
    }
}