/* ================================
   Cvturner Global Styles
   ================================ */

/* Import Inter font */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --font-main: 'Inter', sans-serif;
  --color-bg-gradient: linear-gradient(90deg, #2b59c3, #00bfa6);

  --color-primary: #6a11cb;
  --color-secondary: #2575fc;
  --color-text-dark: #1a1a1a;
  --color-text-light: #ffffff;
  --color-muted: rgba(255, 255, 255, 0.8);
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 45px rgba(0, 0, 0, 0.2);
}

/* Reset & Base Styles */
html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  color: var(--color-text-dark);
  background-color: #f9f9fb;
  scroll-behavior: smooth;
}
/* Fullscreen Layout */
.fullscreen-layout {
  min-height: 100vh;

  /* background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); */
  background:linear-gradient(90deg, #2b59c3, #00bfa6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.fullscreen-main {
  flex-grow: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-secondary);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Buttons */
.btn-gradient {
  background: var(--color-bg-gradient);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.btn-gradient:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  background: transparent;
  color: var(--color-primary);
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all 0.25s ease;
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* Card Styles (shared across login/register/dashboard) */
.card-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  color: #fff;
}

/* Gradient Background Helper */
/* .bg-gradient {
  background: var(--color-bg-gradient);
} */

/* Typography helpers */
.text-muted-light {
  color: var(--color-muted);
}

.text-white {
  color: #fff;
}

.text-gradient {
  background: var(--color-bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section spacing */
.section {
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 2rem;
  }
}
.flash-container {
  position: fixed;
  top: 2.4rem;
  right: 1.2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.alert {
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
  animation: fadeInSlide 0.4s ease forwards;
}

.alert-success {
  background: linear-gradient(90deg, #00c853, #b2ff59);
  color: #0b2e13;
  font-weight: 500;
  border: none;
}

/* NEW – Modern Gradient Warning */
.alert-warning {
  background: linear-gradient(90deg, #ffb300, #ffe082);
  color: #3a2f00;
  font-weight: 500;
  border: none;
}

/* NEW – Modern Gradient Danger */
.alert-danger {
  background: linear-gradient(90deg, #d50000, #ff8a80);
  color: #3b0000;
  font-weight: 500;
  border: none;
}


.alert-info {
  background: #00bcd4;
}
/* --- Navbar for Light Background --- */
.dashboard-nav {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  color: #1e1e1e !important;
}

.navbar-brand .brand-highlight {
  /* background: linear-gradient(90deg, #6a11cb, #2575fc); */
  background:linear-gradient(90deg, #2b59c3, #00bfa6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link {
  color: #333 !important;
  transition: color 0.2s ease, border-bottom 0.2s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.nav-link:hover,
.nav-link.active {
  color: #000 !important;
  border-bottom: 2px solid #6a11cb;
}
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
