/* Painel Pro 4K - layout premium */
:root{
  --pro-bg: #0b1020;
  --pro-bg-soft: #11182d;
  --pro-card: rgba(17, 24, 45, .92);
  --pro-card-border: rgba(255,255,255,.08);
  --pro-text: #eef2ff;
  --pro-muted: #9aa7bd;
  --pro-primary: #4f8cff;
  --pro-primary-2: #22c55e;
  --pro-danger: #ef4444;
  --pro-warning: #f59e0b;
  --pro-shadow: 0 18px 45px rgba(0,0,0,.32);
}

*{ box-sizing: border-box; }

body{
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(79,140,255,.24), transparent 32rem),
    radial-gradient(circle at bottom right, rgba(34,197,94,.14), transparent 30rem),
    var(--pro-bg) !important;
  color: var(--pro-text) !important;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

a{ color: inherit; }

#wrapper{
  min-height: 100vh;
  background: transparent;
}

#sidebar-wrapper{
  background: linear-gradient(180deg, rgba(12,18,35,.98), rgba(8,12,24,.98));
  border-right: 1px solid rgba(255,255,255,.08);
  box-shadow: 12px 0 35px rgba(0,0,0,.24);
}

#sidebar-wrapper .sidebar-heading{
  width: 15rem;
  min-height: 84px;
  padding: 1.2rem 1.15rem !important;
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .7rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

#sidebar-wrapper .sidebar-heading:before{
  content: "PRO";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pro-primary), var(--pro-primary-2));
  color: white;
  font-size: .78rem;
  box-shadow: 0 10px 30px rgba(79,140,255,.34);
}

.sidebar-brand-note{
  width: 15rem;
  color: var(--pro-muted);
  font-size: .8rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

#sidebar-wrapper .list-group{
  padding: .75rem;
}

.list-group-item{
  background: transparent !important;
  border: 0 !important;
  color: #cfd7e8 !important;
  margin-bottom: .25rem;
  border-radius: 14px !important;
  padding: .78rem .95rem !important;
  transition: all .18s ease;
}

.list-group-item:hover,
.list-group-item:focus{
  background: rgba(79,140,255,.16) !important;
  color: #fff !important;
  transform: translateX(3px);
}

.list-group-item i{
  width: 20px;
  text-align: center;
  color: #7fb0ff;
}

#page-content-wrapper{
  background: transparent;
}

.navbar{
  background: rgba(11,16,32,.72) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  min-height: 72px;
  padding-left: 1rem;
  padding-right: 1rem;
}

.navbar .btn,
.btn{
  border-radius: 12px !important;
  font-weight: 700;
  border: 0;
  box-shadow: none !important;
}

.btn-primary, .btn-info, .btn-warning{
  color: #fff !important;
  background: linear-gradient(135deg, var(--pro-primary), #2563eb) !important;
  border: 0 !important;
}

.btn-success{
  color: #fff !important;
  background: linear-gradient(135deg, var(--pro-primary-2), #16a34a) !important;
  border: 0 !important;
}

.btn-danger{
  color: #fff !important;
  background: linear-gradient(135deg, var(--pro-danger), #b91c1c) !important;
  border: 0 !important;
}

.container-fluid{
  padding: 1.2rem 1.35rem 2rem !important;
}

.card{
  background: var(--pro-card) !important;
  border: 1px solid var(--pro-card-border) !important;
  border-radius: 22px !important;
  box-shadow: var(--pro-shadow) !important;
  overflow: hidden;
}

.card-header{
  background: rgba(255,255,255,.035) !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
  color: #fff !important;
  padding: 1rem 1.15rem !important;
}

.card-header h2,
.card-header h6{
  color: #fff !important;
  margin: 0 !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
}

.card-body{
  color: #dce5f7 !important;
}

.bg-primary{
  background: var(--pro-card) !important;
}

.table{
  color: #e7edfb !important;
  margin-bottom: 0;
}

.table thead th{
  color: #fff !important;
  background: rgba(255,255,255,.05);
  border: 0 !important;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.table td,
.table th{
  border-color: rgba(255,255,255,.08) !important;
  vertical-align: middle !important;
}

.table-striped tbody tr:nth-of-type(odd){
  background: rgba(255,255,255,.025) !important;
}

.form-control{
  color: #fff !important;
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 14px !important;
  min-height: 44px;
}

.form-control:focus{
  background: rgba(255,255,255,.11) !important;
  border-color: rgba(79,140,255,.75) !important;
  box-shadow: 0 0 0 .2rem rgba(79,140,255,.18) !important;
}

.form-control::placeholder{
  color: rgba(238,242,255,.55) !important;
}

label{
  color: #dce5f7 !important;
  font-weight: 700;
}

.modal-content{
  background: #11182d !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 20px !important;
  color: #fff !important;
}

.alert{
  border-radius: 16px !important;
  border: 0 !important;
}

.text-color{
  color: #fff !important;
}

.pro-top-title{
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .02em;
}

.pro-top-subtitle{
  color: var(--pro-muted);
  font-size: .82rem;
}

.pro-login-page{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.pro-login-card{
  width: 100%;
  max-width: 430px;
  padding: 30px;
  border-radius: 26px;
  background: rgba(17,24,45,.88);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
  backdrop-filter: blur(16px);
}

.pro-login-logo{
  width: 128px;
  max-height: 128px;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
}

.pro-login-title{
  text-align: center;
  font-size: 1.6rem;
  font-weight: 850;
  margin-bottom: .35rem;
  color: #fff;
}

.pro-login-subtitle{
  text-align: center;
  color: var(--pro-muted);
  margin-bottom: 1.5rem;
}

.pro-login-footer{
  text-align: center;
  color: var(--pro-muted);
  font-size: .82rem;
  margin-top: 1.25rem;
}

@media (max-width: 767.98px){
  #sidebar-wrapper .sidebar-heading,
  .sidebar-brand-note,
  #sidebar-wrapper .list-group{
    width: 15rem;
  }

  .container-fluid{
    padding: 1rem .8rem 1.6rem !important;
  }

  .card{
    border-radius: 18px !important;
  }

  .table-responsive{
    border-radius: 16px;
  }
}
