:root {
  --gc-ink: #1e1e1c;
  --gc-cream: #f7f5f2;
  --gc-sand: #f1ece7;
  --gc-orange: #f15a24;
  --gc-green: #2b2b2a;
  --gc-forest: #121211;
  --gc-gold: #f6b27a;
  --gc-sky: #f2efeb;
  --gc-slate: #6c6762;
  --gc-shadow: rgba(18, 18, 18, 0.08);
}

body.gc-theme {
  font-family: "Work Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(160deg, var(--gc-cream) 0%, #f9f7f4 45%, #f0eeeb 100%);
  color: var(--gc-ink);
}

h1,
h2,
h3,
h4,
.brand-text {
  font-family: "Sora", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.gc-navbar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.gc-chip {
  background: var(--gc-orange);
  color: #fff !important;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
}

.gc-chip:hover {
  background: #de4f1c;
}

.gc-context {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: var(--gc-slate);
}

.gc-context strong {
  color: var(--gc-ink);
  font-weight: 600;
}

.gc-brand {
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gc-brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 4px;
}

.gc-theme .main-sidebar {
  background: linear-gradient(180deg, #2b2b2a 0%, #151515 100%);
}

.gc-theme .nav-sidebar .nav-link.active {
  background: rgba(241, 90, 36, 0.24);
  color: #fff;
}

.gc-theme .nav-sidebar .nav-link {
  color: #dedad4;
}

.gc-theme .nav-sidebar .nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.gc-user-header {
  background: linear-gradient(135deg, #f15a24 0%, #d94b1e 100%);
  color: #fff;
}

.gc-content-header {
  background: transparent;
}

.content-wrapper {
  background: transparent;
  position: relative;
}

.content-wrapper .content,
.content-wrapper .content-header {
  position: relative;
  z-index: 1;
}

.content-wrapper::before,
.content-wrapper::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 90, 36, 0.12) 0%, rgba(241, 90, 36, 0) 70%);
  z-index: 0;
}

.content-wrapper::before {
  top: 40px;
  right: 40px;
}

.content-wrapper::after {
  bottom: 60px;
  left: 20px;
}

.gc-card {
  border-radius: 18px;
  border: none;
  box-shadow: 0 20px 40px var(--gc-shadow);
}

.gc-card.gc-reveal {
  animation: gc-rise 0.6s ease both;
}

.gc-section-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gc-slate);
  margin: 10px 0 16px;
}

.gc-card .card-header {
  background: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.gc-summary {
  background: #fff;
}

.gc-summary h3 {
  font-size: 2rem;
  margin-bottom: 0.2rem;
}

.gc-kpi {
  border-radius: 16px;
  padding: 6px 0;
  box-shadow: 0 12px 30px var(--gc-shadow);
}

.gc-kpi .info-box-icon {
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.08);
  color: #fff;
}

.gc-tone-success .info-box-icon {
  background: #f15a24;
}

.gc-tone-info .info-box-icon {
  background: #2b2b2a;
}

.gc-tone-warning .info-box-icon {
  background: #f08b3f;
}

.gc-tone-danger .info-box-icon {
  background: #c8421b;
}

.gc-delta {
  color: var(--gc-slate);
}

.gc-alert {
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  background: #f8f5f0;
}

.gc-alert h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.gc-alert-warning {
  border-left: 4px solid #d08a1f;
}

.gc-alert-danger {
  border-left: 4px solid #c44c3a;
}

.gc-alert-success {
  border-left: 4px solid #f15a24;
}

.gc-hero {
  background: linear-gradient(135deg, #f15a24 0%, #e24b1b 55%, #f6b27a 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.gc-hero::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  top: -40px;
  right: -40px;
}

.gc-hero-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
}

.gc-hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.gc-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.gc-hero-stats strong {
  display: block;
  font-size: 1.2rem;
}

.gc-stat-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gc-btn {
  color: var(--gc-forest);
  font-weight: 600;
}

.gc-segment,
.gc-project,
.gc-pipeline,
.gc-location,
.gc-expense,
.gc-channel,
.gc-vacancy,
.gc-activity,
.gc-milestone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.gc-project {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 16px 0;
}

.gc-project-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gc-pipeline,
.gc-location,
.gc-expense,
.gc-channel,
.gc-vacancy,
.gc-activity,
.gc-milestone {
  padding: 12px 0;
}

.gc-project:last-child,
.gc-segment:last-child,
.gc-pipeline:last-child,
.gc-location:last-child,
.gc-expense:last-child,
.gc-channel:last-child,
.gc-vacancy:last-child,
.gc-activity:last-child,
.gc-milestone:last-child {
  border-bottom: none;
}

.gc-highlight {
  background: linear-gradient(135deg, #1f1f1e 0%, #34322f 100%);
  color: #fff;
}

.gc-week {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.gc-week li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.gc-week li:last-child {
  border-bottom: none;
}

.gc-report {
  min-height: 180px;
}

.gc-profile-avatar {
  width: 96px;
  height: 96px;
  object-fit: cover;
  background: #fff;
}

.user-panel .image img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  background: #fff;
}

.user-menu .user-image {
  width: 34px;
  height: 34px;
  object-fit: cover;
  background: #fff;
}

.user-menu .user-header img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  background: #fff;
}

.gc-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.gc-profile-meta span {
  font-size: 0.85rem;
  color: var(--gc-slate);
}

.gc-login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.gc-login-mark {
  object-fit: contain;
}

.gc-login-mark--big {
  width: 220px;
  height: 220px;
  max-width: 80vw;
  max-height: 80vw;
}

.gc-login-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  text-align: center;
}

.gc-auth {
  background: linear-gradient(135deg, #f7f5f2 0%, #fff0e6 100%);
}

.gc-auth .login-card-body {
  border-radius: 16px;
}

.gc-footer {
  background: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.gc-404 h2 {
  font-size: 3rem;
  margin-bottom: 0.4rem;
}

.gc-theme .btn-primary {
  background: var(--gc-orange);
  border-color: var(--gc-orange);
}

.gc-theme .btn-primary:hover {
  background: #de4f1c;
  border-color: #de4f1c;
}

.gc-theme .btn-outline-primary {
  color: var(--gc-orange);
  border-color: var(--gc-orange);
}

.gc-theme .btn-outline-primary:hover {
  background: var(--gc-orange);
  border-color: var(--gc-orange);
  color: #fff;
}

.gc-theme .text-success {
  color: var(--gc-orange) !important;
}

.gc-theme .badge-success {
  background-color: var(--gc-orange);
  color: #fff;
}

.gc-theme .bg-success {
  background-color: var(--gc-orange) !important;
}

.gc-company {
  background: #fff;
}

.gc-company-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 6px;
}

.gc-logo-upload {
  gap: 12px;
}

.gc-logo-preview {
  width: 96px;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 8px;
}

.gc-avatar-cropper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gc-avatar-crop-area {
  width: 160px;
  height: 160px;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.gc-avatar-crop-area:active {
  cursor: grabbing;
}

.gc-avatar-crop-image {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: none;
  max-height: none;
  transform-origin: center center;
  transform: translate(-50%, -50%);
  will-change: transform;
  user-drag: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.gc-avatar-controls {
  min-width: 220px;
  max-width: 320px;
}

.gc-avatar-zoom {
  width: 220px;
}

.gc-company-tag {
  display: inline-block;
  background: rgba(241, 90, 36, 0.16);
  color: var(--gc-orange);
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.gc-company-pill {
  display: inline-block;
  background: rgba(241, 90, 36, 0.12);
  color: var(--gc-orange);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.gc-company-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0 16px;
  font-size: 0.85rem;
  color: var(--gc-slate);
}

.gc-role {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.gc-role:last-child {
  border-bottom: none;
}

@keyframes gc-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.table thead th {
  border-top: none;
}

@media (max-width: 991px) {
  .gc-hero-stats {
    grid-template-columns: 1fr;
  }
}