/**
 * base.css
 *
 * This file contains the foundational styles for the monitoring tool. 
 * It defines global CSS variables, resets default browser styles,
 * and sets up the basic typography and layout styles.
 */

:root {
  --primary-color: #2a9d8f;
  --secondary-color: #264653;
  --accent-color: #e9c46a;
  --background-color: #f8f9fa;
  --surface-color: #ffffff;
  --text-color: #264653;
  --border-color: #e9ecef;
  --shadow-color: rgba(42, 157, 143, 0.1);
  --success-color: #2a9d8f;
  --error-color: #e76f51;
  --warning-color: #f4a261;
  --primary-hover: #1f7168;
  --primary-active: #185751;
  --accent-hover: #ddb74f;
  --button-hover-shadow: rgba(42, 157, 143, 0.2);
  --nav-hover-bg: rgba(255, 255, 255, 0.15);
  --nav-active-bg: rgba(255, 255, 255, 0.2);
  --card-hover-shadow: rgba(42, 157, 143, 0.15);
  --card-hover-border: #2a9d8f;
  --card-radius: 16px;
  --transition-speed: 0.3s;
  --header-height: 180px;
}

/* Reset styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
}

/* Add smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Base container styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  animation: fadeIn 0.5s ease-out;
}

/* Base animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header styles */
.main-header {
  background: var(--primary-color);
  color: white;
  padding: 2rem;
  box-shadow: 0 4px 6px var(--shadow-color);
}

.header-content {
  text-align: center;
  padding: 1.5rem 0;
}

.header-content h1 {
  font-size: 2.5rem;
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

/* Base button styles */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 4px 6px var(--button-hover-shadow);
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px var(--button-hover-shadow);
}

.btn:active {
  background: var(--primary-active);
  transform: translateY(0);
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--button-hover-shadow);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--border-color);
}
