/* =========================================
   SAPENTIA GLOBAL DESIGN SYSTEM
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* =========================================
   ROOT VARIABLES
========================================= */

:root {

  --primary: #006e72;
  --primary-light: #00a3a8;
  --primary-dark: #004f52;

  --background: #020b12;

  --surface: #07141d;
  --surface-light: #0d1c26;

  --text: #e6f7f8;
  --muted: #8ba3ad;
    
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

}

/* =========================================
   GLOBAL RESET
========================================= */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--text);
  overflow-x: hidden;
}

/* =========================================
   SCROLLBAR
========================================= */

::-webkit-scrollbar{
  width: 8px;
}

::-webkit-scrollbar-track{
  background: var(--background);
}

::-webkit-scrollbar-thumb{
  background: var(--primary);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover{
  background: var(--primary-light);
}

/* =========================================
   TEXT SELECTION
========================================= */

::selection{
  background: var(--primary);
  color: white;
}

/* =========================================
   REUSABLE BACKGROUNDS
========================================= */

.bg-main{
  background: var(--background);
}

.bg-surface{
  background: var(--surface);
}

.bg-surface-light{
  background: var(--surface-light);
}

/* =========================================
   GLASS EFFECT
========================================= */

.glass{
  background: rgba(7, 20, 29, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* =========================================
   CARD STYLES
========================================= */

.sap-card{
  background: var(--surface);
  border: 1px solid #12303a;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* =========================================
   BUTTONS
========================================= */

.btn-primary{
  background: var(--primary);
  color: white;
  transition: all 0.3s ease;
}

.btn-primary:hover{
  background: #00858a;
}

.btn-secondary{
  border: 1px solid var(--primary);
  color: var(--primary-light);
  transition: all 0.3s ease;
}

.btn-secondary:hover{
  background: rgba(0,110,114,0.1);
}

/* =========================================
   INPUTS
========================================= */

.sap-input{
  background: var(--surface-light);
  border: 1px solid #12303a;
  color: var(--text);
}

.sap-input:focus{
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,110,114,0.2);
}

/* =========================================
   SIDEBAR
========================================= */

.sidebar-link{
  transition: all 0.3s ease;
}

.sidebar-link:hover{
  background: rgba(0,110,114,0.12);
}

.sidebar-link.active{
  background: rgba(0,110,114,0.2);
  color: var(--primary-light);
}

/* =========================================
   GLOW EFFECTS
========================================= */

.glow{
  box-shadow: 0 0 20px rgba(0,110,114,0.35);
}

.glow-sm{
  box-shadow: 0 0 10px rgba(0,110,114,0.25);
}

/* =========================================
   BORDERS
========================================= */

.border-soft{
  border: 1px solid #12303a;
}

/* =========================================
   ANIMATIONS
========================================= */

.transition-default{
  transition: all 0.3s ease;
}

.hover-up:hover{
  transform: translateY(-3px);
}

/* =========================================
   STATUS COLORS
========================================= */

.text-success{
  color: var(--success);
}

.text-warning{
  color: var(--warning);
}

.text-danger{
  color: var(--danger);
}

/* =========================================
   TABLES
========================================= */

.sap-table{
  border-collapse: collapse;
  width: 100%;
}

.sap-table thead{
  background: var(--surface-light);
}

.sap-table th,
.sap-table td{
  padding: 1rem;
  border-bottom: 1px solid #12303a;
}

.sap-table tr:hover{
  background: rgba(255,255,255,0.02);
}

/* =========================================
   BADGES
========================================= */

.badge-success{
  background: rgba(16,185,129,0.12);
  color: var(--success);
}

.badge-warning{
  background: rgba(245,158,11,0.12);
  color: var(--warning);
}

.badge-danger{
  background: rgba(239,68,68,0.12);
  color: var(--danger);
}

/* =========================================
   SECTION SPACING
========================================= */

.section-padding{
  padding-top: 5rem;
  padding-bottom: 5rem;
}
