@tailwind base;
@tailwind components;
@tailwind utilities;


:root {
  --primary: #0A2540;
  --secondary: #F0F4F8;
  --success: #16A34A;
  --danger: #DC2626;
  --accent: #3B82F6;
  --neutral-dark: #1E293B;
  --neutral-light: #94A3B8;
  --white: #FFFFFF;
  --border: #CBD5E1;
  --chart-bg: #EEF2FF;
}

body {
  font-family: 'Epilogue', sans-serif;
  color: var(--neutral-dark);
  background-color: var(--secondary);
}

.iti {
  width: 100%;
}


.data-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  overflow: hidden;
}

.data-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.data-metric {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
}

.data-metric.positive {
  color: var(--success);
}

.data-metric.negative {
  color: var(--danger);
}

.data-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neutral-light);
}


.expanding-card {
  cursor: pointer;
  height: fit-content;
  height: fit-content;
}



.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  color: var(--neutral-dark);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--accent);
}


.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--white);
  z-index: 50;
  transition: right 0.3s ease;
}

.mobile-menu.open {
  right: 0;
}


.btn-primary {
  background-color: var(--accent);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  background-color: #2563eb;
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-outline:hover {
  background-color: var(--accent);
  color: white;
}


.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 1rem;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 40;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-consent.visible {
  transform: translateY(0);
}

.cookie-settings-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--white);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 39;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}


.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--neutral-dark);
}


.calendar-event {
  border-left: 4px solid var(--accent);
  padding: 0.75rem;
  background-color: var(--white);
  border-radius: 0.375rem;
  margin-bottom: 0.75rem;
}

.calendar-event.workshop {
  border-left-color: var(--success);
}

.calendar-event.pitch {
  border-left-color: var(--accent);
}

.calendar-event.mentoring {
  border-left-color: #8B5CF6;
}

.calendar-event.library {
  border-left-color: #F59E0B;
}


.stats-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.stat-card {
  background-color: var(--white);
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--neutral-light);
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: var(--white);
  border-radius: 0.5rem;
  padding: 1.5rem;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal.open .modal-content {
  transform: translateY(0);
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

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

.animate-slide-in-up {
  animation: slideInUp 0.5s ease forwards;
}