:root{
  --fc-bg-1:#0c57ea;
  --fc-bg-2:#073fc0;
  --fc-bg-3:#0b2f8f;
  --fc-sidebar:#0b43c7;
  --fc-sidebar-dark:#0839ad;
  --fc-card:#ffffff;
  --fc-card-soft:#dff4ff;
  --fc-card-blue:#1f67ff;
  --fc-card-dark:#0f46cf;
  --fc-text:#0e1b3d;
  --fc-text-light:#ffffff;
  --fc-muted:#6e7b99;
  --fc-orange:#ff961f;
  --fc-orange-2:#ff7f11;
  --fc-green:#16b86a;
  --fc-border:rgba(255,255,255,.18);
  --fc-shadow:0 18px 50px rgba(0,0,0,.20);
  --fc-radius:24px;
  --fc-radius-sm:18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.16), transparent 20%),
    radial-gradient(circle at bottom left, rgba(255,255,255,.10), transparent 18%),
    linear-gradient(135deg, var(--fc-bg-1), var(--fc-bg-2) 48%, var(--fc-bg-3));
  color:var(--fc-text);
  min-height:100vh;
}

a{text-decoration:none;color:inherit}
button{font:inherit}

.fc-app-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:300px 1fr;
  gap:0;
  padding:24px;
}

.fc-sidebar{
  background:linear-gradient(180deg, var(--fc-sidebar), var(--fc-sidebar-dark));
  border-radius:32px 0 0 32px;
  padding:28px 20px;
  box-shadow:var(--fc-shadow);
  position:relative;
  z-index:20;
}

.fc-brand{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:28px;
  padding:8px 10px;
}

.fc-brand-logo{
  width:46px;
  height:46px;
  border-radius:14px;
  background:linear-gradient(135deg,#2dc9ff,#0a56ef 55%, #ff9b23);
  display:grid;
  place-items:center;
  color:#fff;
  font-size:26px;
  font-weight:800;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}

.fc-brand-text{
  display:flex;
  align-items:baseline;
  gap:6px;
  color:#fff;
  font-size:18px;
  letter-spacing:.3px;
}
.fc-brand-text span{
  color:#ffb347;
  font-weight:800;
}

.fc-nav{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.fc-nav-btn,
.fc-nav-link{
  width:100%;
  border:none;
  background:transparent;
  color:rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border-radius:16px;
  cursor:pointer;
  transition:.22s ease;
  text-align:left;
}

.fc-nav-btn:hover,
.fc-nav-link:hover{
  background:rgba(255,255,255,.10);
  transform:translateX(2px);
}

.fc-nav-btn.is-active{
  background:linear-gradient(135deg, #2d79ff, #1c59df);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 10px 24px rgba(0,0,0,.15);
}

.fc-nav-ico{
  width:22px;
  text-align:center;
  font-size:18px;
}

.fc-nav-exit{
  margin-top:10px;
  opacity:.95;
}

.fc-main-wrap{
  background:rgba(255,255,255,.06);
  border-radius:0 32px 32px 0;
  padding:18px 22px 28px;
  box-shadow:var(--fc-shadow);
  backdrop-filter:blur(4px);
}

.fc-topbar{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:22px;
}

.fc-mobile-menu{
  display:none;
  border:none;
  background:rgba(255,255,255,.15);
  color:#fff;
  width:46px;
  height:46px;
  border-radius:14px;
  cursor:pointer;
}

.fc-topbar-right{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:16px;
}

.fc-notify-btn{
  width:48px;
  height:48px;
  border:none;
  border-radius:16px;
  background:rgba(255,255,255,.15);
  color:#fff;
  position:relative;
  cursor:pointer;
}

.fc-notify-btn em{
  position:absolute;
  top:-4px;
  right:-4px;
  width:20px;
  height:20px;
  border-radius:999px;
  background:#ff6c3e;
  color:#fff;
  font-size:11px;
  font-style:normal;
  display:grid;
  place-items:center;
  font-weight:700;
}

.fc-userbox{
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
}

.fc-user-meta{
  text-align:right;
}

.fc-user-meta small{
  display:block;
  opacity:.75;
  margin-bottom:2px;
}

.fc-userbox img{
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid rgba(255,255,255,.4);
}

.fc-content-area{
  width:100%;
}

.fc-page-head{
  color:#fff;
  margin-bottom:22px;
}

.fc-page-head h1{
  margin:0 0 8px;
  font-size:38px;
  line-height:1.05;
}

.fc-page-head p{
  margin:0;
  opacity:.9;
}

.fc-grid{
  display:grid;
  gap:18px;
  margin-bottom:18px;
}

.fc-grid-2{grid-template-columns:repeat(2, minmax(0,1fr))}
.fc-grid-3{grid-template-columns:repeat(3, minmax(0,1fr))}

.fc-card{
  border-radius:24px;
  padding:24px;
  background:var(--fc-card);
  box-shadow:0 20px 40px rgba(0,0,0,.12);
  min-height:170px;
}

.fc-card-light{
  background:linear-gradient(180deg, #ffffff, #f6f9ff);
  color:var(--fc-text);
}

.fc-card-soft{
  background:linear-gradient(180deg, #dff7ff, #cbeeff);
}

.fc-card-blue{
  background:linear-gradient(135deg, #2d77ff, #0f54ec);
  color:#fff;
}

.fc-card-dark{
  background:linear-gradient(135deg, #0d48d4, #1239aa);
  color:#fff;
}

.fc-card-ad{
  background:
    linear-gradient(135deg, rgba(12,91,240,.95), rgba(8,51,164,.95)),
    radial-gradient(circle at right bottom, rgba(255,170,0,.22), transparent 25%);
  color:#fff;
  display:flex;
  align-items:flex-end;
}

.fc-card-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:12px;
}

.fc-card h3{
  margin:0 0 10px;
  font-size:18px;
}

.fc-status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:7px 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  width:max-content;
  margin-bottom:10px;
}

.fc-status-pill.is-green{
  background:#dff8eb;
  color:#0d9d58;
}
.fc-status-pill.is-orange{
  background:#fff0dd;
  color:#e88912;
}

.fc-big-number{
  font-size:24px;
  font-weight:800;
  margin-bottom:10px;
  line-height:1.1;
}

.fc-price{
  font-size:38px;
  font-weight:800;
  color:#f39a1f;
  line-height:1.1;
  margin-top:10px;
}

.fc-price small{
  font-size:18px;
  color:#35a560;
  font-weight:700;
}

.fc-ok{
  color:#35a560;
  font-weight:700;
}

.fc-muted{
  color:var(--fc-muted);
}

.fc-mini-pill{
  margin-top:12px;
  display:inline-flex;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  font-size:13px;
}

.fc-btn{
  min-height:44px;
  padding:0 18px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  font-weight:700;
  transition:.2s ease;
}
.fc-btn:hover{
  transform:translateY(-1px);
}

.fc-btn-orange{
  background:linear-gradient(135deg, var(--fc-orange), var(--fc-orange-2));
  color:#fff;
}
.fc-btn-blue{
  background:linear-gradient(135deg, #27b1ff, #0f7dea);
  color:#fff;
}
.fc-btn-outline{
  background:#fff;
  color:#2357cc;
  border:1px solid #d7e4ff;
}

.fc-history-list{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:10px 0 18px;
}

.fc-history-item{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:center;
  background:#f7faff;
  border:1px solid #e7eefb;
  border-radius:18px;
  padding:14px 16px;
}

.fc-history-item p{
  margin:4px 0 0;
  color:#485677;
}

.fc-view{
  display:none;
  animation:fcFade .22s ease;
}

.fc-view.is-active{
  display:block;
}

@keyframes fcFade{
  from{opacity:0; transform:translateY(6px)}
  to{opacity:1; transform:none}
}

.fc-list{
  margin:0;
  padding-left:18px;
  line-height:1.8;
}

.fc-form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.fc-form-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:16px;
}

.fc-field{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.fc-field label{
  font-weight:700;
  color:#23345f;
}

.fc-field input,
.fc-field select,
.fc-field textarea{
  width:100%;
  border:1px solid #dbe6fb;
  background:#fff;
  border-radius:16px;
  padding:14px 16px;
  font:inherit;
  outline:none;
}

.fc-field textarea{
  resize:vertical;
  min-height:140px;
}

.fc-form-actions{
  display:flex;
  justify-content:flex-end;
}

.fc-table-wrap{
  overflow:auto;
}

.fc-table{
  width:100%;
  border-collapse:collapse;
}

.fc-table th,
.fc-table td{
  padding:14px 12px;
  border-bottom:1px solid #edf2fb;
  text-align:left;
}

.fc-table th{
  color:#5b6990;
  font-size:14px;
}

.fc-fallback-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, #0d59ef, #0a3399);
}

.fc-fallback-box{
  background:#fff;
  padding:32px;
  border-radius:24px;
  box-shadow:0 20px 40px rgba(0,0,0,.15);
  text-align:center;
}

@media (max-width: 1200px){
  .fc-grid-3{grid-template-columns:repeat(2, minmax(0,1fr))}
}

@media (max-width: 900px){
  .fc-app-shell{
    grid-template-columns:1fr;
    padding:14px;
  }

  .fc-sidebar{
    position:fixed;
    top:14px;
    left:14px;
    bottom:14px;
    width:280px;
    border-radius:28px;
    transform:translateX(-110%);
    transition:.25s ease;
  }

  .fc-sidebar.is-open{
    transform:translateX(0);
  }

  .fc-main-wrap{
    border-radius:28px;
    padding:16px;
  }

  .fc-mobile-menu{
    display:inline-grid;
    place-items:center;
  }

  .fc-grid-2,
  .fc-grid-3,
  .fc-form-grid{
    grid-template-columns:1fr;
  }

  .fc-page-head h1{
    font-size:28px;
  }
}

@media (max-width: 560px){
  .fc-card{
    padding:18px;
    border-radius:20px;
  }

  .fc-history-item{
    flex-direction:column;
    align-items:flex-start;
  }

  .fc-user-meta{
    display:none;
  }

  .fc-topbar{
    margin-bottom:18px;
  }

  .fc-price{
    font-size:30px;
  }
}