@import url("root.css");

/* ==================================================
   RESET
================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  outline: none;
  border: none;
  text-decoration: none;
  list-style: none;
}

/* ==================================================
   BODY
================================================== */

body {
  background:
    radial-gradient(circle at top, rgba(139,30,45,.08), transparent 45%),
    var(--background) url("../images/background-body.jpg") no-repeat top center;
}

/* ==================================================
   GLOBAL CONTAINERS
================================================== */

.web-content {
  display: flex;
  align-items: flex-start;
  max-width: var(--container);
  padding: 12px;
  background: linear-gradient(180deg, var(--neutral-500), #0f0f13);
  margin: auto;
  gap: 12px;
  border-radius: 12px;
}

.web-content .content {
  flex: 1;
}

/* ==================================================
   SIDEBAR (CONTAINER ÚNICO)
================================================== */

.web-content .sidebar {
  width: 262px;
  padding: 12px;
  background: linear-gradient(180deg, #15151b, #0e0e13);
  border: 1px solid #2a2a30;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==================================================
   SIDEBAR SECTIONS (CARDS)
================================================== */

.sidebar > div {
  background: linear-gradient(180deg, #121218, #0c0c10);
  border: 1px solid #2a2a30;
  border-radius: 10px;
  padding: 14px;
}

/* ==================================================
   TITLES
================================================== */

.sidebar-title,
.sidebar .info h3 {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #2a2a30;
}

/* ==================================================
   LOGIN FORM (SEM FUNDO PRÓPRIO)
================================================== */

.form-login {
  background: transparent;
  border: none;
  padding: 0;
}

.form-login label {
  font-size: 12px;
  font-weight: 600;
  color: #cfcfd6;
  margin-bottom: 3px;
  display: block;
}

.sidebar input {
  width: 100%;
  height: 32px;
  background: linear-gradient(180deg, #0f0f14, #0a0a0e);
  border: 1px solid #2a2a30;
  border-radius: 7px;
  padding: 0 10px;
  color: #ffffff;
  font-size: 12.5px;
  margin-bottom: 8px;
  transition: border-color .2s ease, background .2s ease;
}

.sidebar input:focus {
  border-color: var(--red-100);
  background: #0e0e13;
}

/* ==================================================
   LOGIN ACTIONS
================================================== */

.form-login .action {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.form-login button {
  flex: 1;
  height: 34px;
  background: linear-gradient(180deg, var(--red-100), var(--red-200));
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .4px;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}

.form-login button:hover {
  background: linear-gradient(180deg, var(--red-75), var(--red-100));
  transform: translateY(-1px);
}

.form-login a {
  font-size: 11px;
  color: #8b8b94;
  white-space: nowrap;
  transition: color .2s ease;
}

.form-login a:hover {
  color: var(--red-75);
}

/* ==================================================
   INFO / USER DATA
================================================== */

.sidebar .info p,
.user-info p {
  background: #0f0f14;
  border: 1px solid #2a2a30;
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 12px;
  color: #cfcfd6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar .info p span,
.user-info p span {
  font-weight: 700;
  color: #ffffff;
}

/* ==================================================
   USER MENU
================================================== */

.user-info ul {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.user-info ul li a {
  display: block;
  padding: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #cfcfd6;
  background: linear-gradient(180deg, #14141a, #0e0e13);
  border: 1px solid #2a2a30;
  border-radius: 8px;
  transition: all .2s ease;
}

.user-info ul li a:hover {
  color: #ffffff;
  background: rgba(139,30,45,.18);
}

/* ==================================================
   STATUS
================================================== */

.text-success {
  color: var(--green-100);
  font-weight: 800;
}

.text-danger {
  color: var(--red-100);
  font-weight: 800;
}

.sidebar .info > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==================================================
   NAVIGATION – DARK PREMIUM AAA
================================================== */

.navigation {
  max-width: var(--container);
  margin: -24px auto 12px;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 10;
}

.web-content {
  margin-top: -16px;
  position: relative;
  z-index: 5;
}

.navigation .nav {
  background: linear-gradient(180deg, #15151b, #0e0e13);
  border: 1px solid #2a2a30;
  border-radius: 12px;
  padding: 4px;
}

/* ==================================================
   NAV LIST
================================================== */

.nav-list {
  display: flex;
  gap: 2px;
}

/* ==================================================
   NAV ITEMS
================================================== */

.nav-item a {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 800;
  color: #cfcfd6;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 10px;
  position: relative;
  transition: all .2s ease;
}

/* Hover / Active */

.nav-item a:hover {
  color: #ffffff;
  background: rgba(139,30,45,.18);
}

/* Optional: underline premium */

.nav-item a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 2px;
  background: var(--red-100);
  transition: all .2s ease;
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-item a:hover::after {
  width: 18px;
}

.site-header {
  display: flex;
  align-items: center;
}


