/* ================================================
   BASE STYLES - BMKG Change Proposal System
   Font: Montserrat (heading & buttons), Roboto (body & labels)
   ================================================ */

/* CSS Variables dengan Font Baru */
:root {
  /* BMKG Colors */
  --bmkg-blue-dark: #003366;
  --bmkg-blue-medium: #0055a4;
  --bmkg-blue-light: #0077cc;
  --bmkg-teal: #009688;
  --bmkg-green: #4caf50;
  --bmkg-orange: #ff9800;
  --bmkg-red: #f44336;
  --bmkg-gray-dark: #333333;
  --bmkg-gray-medium: #666666;
  --bmkg-gray-light: #f5f5f5;
  --bmkg-white: #ffffff;
  --bmkg-success: #28a745;
  --bmkg-warning: #ffc107;
  --bmkg-error: #dc3545;

  /* Font Families */
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Roboto", sans-serif;
  --font-button: "Montserrat", sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--bmkg-gray-dark);
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings - Montserrat */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--bmkg-blue-dark);
}

h1 {
  font-size: 2rem;
  font-weight: 700;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

/* Paragraphs - Roboto */
p {
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-weight: 400;
}

/* Links */
a {
  color: var(--bmkg-blue-medium);
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: var(--font-body);
}

a:hover {
  color: var(--bmkg-blue-dark);
  text-decoration: underline;
}

/* Buttons - Montserrat */
button,
.btn,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  font-family: var(--font-button);
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Labels - Roboto */
label {
  font-family: var(--font-body);
  font-weight: 500;
}

/* Form Elements - Roboto */
input,
textarea,
select {
  font-family: var(--font-body);
  font-weight: 400;
}

/* Tables - Roboto */
table {
  font-family: var(--font-body);
}

/* Utility Classes untuk Font */
.font-heading {
  font-family: var(--font-heading);
}

.font-body {
  font-family: var(--font-body);
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.font-normal {
  font-weight: 400;
}

.font-light {
  font-weight: 300;
}

/* Responsive Typography */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.375rem;
  }

  h3 {
    font-size: 1.125rem;
  }
}

/* Print Styles */
@media print {
  body {
    font-family: var(--font-body);
    font-size: 12pt;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-family: var(--font-heading);
  }
}
/* Dokumen Saya */
.stat-card {
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 15px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: white;
  font-size: 1.5em;
}

.stat-content h3 {
  margin: 0;
  font-size: 1.8em;
  font-weight: bold;
}

.stat-content p {
  margin: 5px 0 0;
  color: #6c757d;
  font-size: 0.9em;
}

.doc-title {
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
}

.empty-state i {
  font-size: 3em;
  color: #6c757d;
  margin-bottom: 20px;
}

/* Timeline */
.timeline-item {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.timeline-item.hidden {
  opacity: 0.3;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .stat-card {
    margin-bottom: 15px;
  }

  .doc-title {
    max-width: 150px;
  }
}
