@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-green: #00900A;
  --primary-green2: #0C6834;
  --accent-orange: #f26f21;
  --dark-charcoal: #1a1e21;
  --bg-light: #ffffff;
  --bg-card: #ffffff;
  --text-main: #2d3748;
  --text-muted: #434547;
  --border-color: #e2e8f0;

  --font-family: 'Outfit', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  height: 100%;
  overflow-y: auto;
}

body {
  font-family: var(--font-family);
  background-color: #ffffff;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-y: auto;
  margin: 0;
  padding: 0;
}

/* Master container */
#app {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-card);
  box-shadow: none;
  overflow-y: auto;
}

/* Desktop layout container - removed phone mock-up to allow full-width website on desktop */
@media (min-width: 768px) {
  body {
    background-color: #ffffff;
  }

  #app {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }
}

/* Global Page Loader */
.global-page-loader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  background-color: var(--bg-light);
}

.screen-content-area .global-page-loader {
  height: 60vh;
}

.global-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid rgba(11, 128, 67, 0.15);
  border-left-color: var(--primary-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Utility classes */
.hidden {
  display: none !important;
}

.fade-in {
  animation: fadeIn 0.5s forwards;
}

.fade-out {
  animation: fadeOut 0.5s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}
