html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Yeni kod - sadece butonlar */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus {
  box-shadow: none !important;
  outline: none !important;
}

/* Form elementleri için eski stil korunuyor */
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin-bottom: 0 !important;
}

main.flex-shrink-0 {
  padding-bottom: 2rem;
}

/* ====== Modern Navbar - Start ====== */
.modern-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.modern-navbar .nav-item {
  margin: 5px 0;
}

.modern-navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: -0.5px;
}

.modern-navbar-brand:hover {
  transform: scale(1.05);
  text-decoration: none;
}

.modern-nav-link {
  font-weight: 500;
  color: #374151 !important;
  padding: 0.7rem 1rem !important;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  margin: 0 0.2rem;
}

.modern-nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.modern-nav-link:hover {
  color: #667eea !important;
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.modern-nav-link:hover::before {
  width: 80%;
}

.modern-nav-link.active {
  color: #667eea !important;
  background: rgba(102, 126, 234, 0.15);
}

.modern-nav-link.active::before {
  width: 80%;
}

/* Modern Search Form */
.modern-search-form {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
}

.modern-search-input {
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 20px;
  padding: 0.6rem 2.8rem 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  width: 250px;
  font-size: 0.9rem;
  color: #2d3748;
  outline: none;
}

.modern-search-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.15rem rgba(102, 126, 234, 0.15);
  background: rgba(255, 255, 255, 1);
  width: 260px;
}

.modern-search-input::placeholder {
  color: #a0aec0;
  font-size: 0.85rem;
}

.modern-search-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 18px;
  padding: 0.4rem 0.6rem;
  color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}

.modern-search-btn:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 3px 12px rgba(102, 126, 234, 0.3);
}

.modern-search-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.modern-search-btn svg {
  width: 14px;
  height: 14px;
}

.modern-navbar-toggler {
  border: none;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 12px;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.modern-navbar-toggler:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: scale(1.05);
}

.modern-navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.3);
  outline: none;
}

.modern-navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23667eea' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dark theme adaptations */
[data-bs-theme="dark"] .modern-navbar {
  background: rgba(45, 55, 72, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="dark"] .modern-navbar-brand {
  background: linear-gradient(135deg, #90cdf4 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-bs-theme="dark"] .modern-nav-link {
  color: #e2e8f0 !important;
}

[data-bs-theme="dark"] .modern-nav-link:hover {
  color: #90cdf4 !important;
  background: rgba(144, 205, 244, 0.1);
}

[data-bs-theme="dark"] .modern-nav-link.active {
  color: #90cdf4 !important;
  background: rgba(144, 205, 244, 0.15);
}

[data-bs-theme="dark"] .navbar {
  background: rgba(33, 37, 41, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .navbar-brand {
  color: #e2e8f0 !important;
}

[data-bs-theme="dark"] .modern-search-input {
  background: rgba(45, 55, 72, 0.9);
  border-color: rgba(144, 205, 244, 0.2);
  color: #e2e8f0;
}

[data-bs-theme="dark"] .modern-search-input:focus {
  border-color: #90cdf4;
  box-shadow: 0 0 0 0.15rem rgba(144, 205, 244, 0.15);
  background: rgba(45, 55, 72, 1);
}

[data-bs-theme="dark"] .modern-search-input::placeholder {
  color: #a0aec0;
}

[data-bs-theme="dark"] body {
  background: #1a202c;
}

[data-bs-theme="dark"] .modern-navbar-toggler {
  background: rgba(144, 205, 244, 0.1);
}

[data-bs-theme="dark"] .modern-navbar-toggler:hover {
  background: rgba(144, 205, 244, 0.2);
}

[data-bs-theme="dark"] .modern-navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2390cdf4' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .modern-nav-link {
    margin: 0.2rem 0;
  }
}

@media (max-width: 576px) {
  .modern-search-input {
    font-size: 0.8rem;
    padding: 0.45rem 2.5rem 0.45rem 0.8rem;
  }

  .modern-search-btn {
    width: 28px;
    height: 28px;
    right: 2px;
  }

  .modern-search-btn svg {
    width: 12px;
    height: 12px;
  }
}
/* ====== Modern Navbar - End ====== */


/* ====== Login Partial - Start ====== */
.modern-user-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modern-user-profile {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
  color: #374151;
  backdrop-filter: blur(10px);
}

.modern-user-profile:hover {
  background: rgba(102, 126, 234, 0.15);
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.2);
  color: #667eea;
  text-decoration: none;
}

.modern-user-name {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.2px;
}

.modern-user-icon {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.modern-user-profile:hover .modern-user-icon {
  opacity: 1;
  transform: scale(1.1);
}

.modern-logout-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  border: none;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.modern-logout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 112, 154, 0.4);
  color: white;
}

.modern-logout-btn:active {
  transform: translateY(0);
}

.modern-auth-link {
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  display: inline-block;
}

.modern-register-link {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.modern-register-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(67, 233, 123, 0.4);
  color: white;
  text-decoration: none;
}

.modern-login-link {
  color: #667eea;
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  backdrop-filter: blur(10px);
}

.modern-login-link:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
  text-decoration: none;
}

.modern-logout-form {
  margin: 0;
}

/* Dark theme adaptations */
[data-bs-theme="dark"] .modern-user-profile {
  background: rgba(144, 205, 244, 0.1);
  border-color: rgba(144, 205, 244, 0.2);
  color: #e2e8f0;
}

[data-bs-theme="dark"] .modern-user-profile:hover {
  background: rgba(144, 205, 244, 0.15);
  border-color: rgba(144, 205, 244, 0.3);
  color: #90cdf4;
  box-shadow: 0 6px 20px rgba(144, 205, 244, 0.2);
}

[data-bs-theme="dark"] .modern-login-link {
  color: #90cdf4;
  border-color: #90cdf4;
  background: rgba(144, 205, 244, 0.1);
}

[data-bs-theme="dark"] .modern-login-link:hover {
  background: #90cdf4;
  color: #1a202c;
  box-shadow: 0 6px 20px rgba(144, 205, 244, 0.4);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .modern-user-menu {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .modern-user-profile,
  .modern-auth-link,
  .modern-logout-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .modern-user-name {
    font-size: 0.85rem;
  }
}
/* ====== Login Partial - End ====== */

/* ====== Footer Partial - Start ====== */
.modern-footer {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2rem 0;
  margin-top: 3rem;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(102, 126, 234, 0.3) 50%, transparent 100%);
}

.modern-footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.modern-footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.modern-footer-copyright {
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
}

.modern-footer-brand {
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modern-footer-privacy {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
}

.modern-footer-privacy:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  text-decoration: none;
  transform: translateY(-1px);
}

.modern-theme-toggle {
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  border: 2px solid rgba(102, 126, 234, 0.2);
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.modern-theme-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modern-theme-toggle span {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.modern-theme-toggle:hover {
  color: #fcfcfc;
  border-color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.modern-theme-toggle:hover::before {
  opacity: 1;
  z-index: -1;
}

.modern-theme-toggle:hover span {
  color: white;
}

.modern-theme-toggle:active {
  transform: translateY(0);
}

/* Dark theme adaptations */
[data-bs-theme="dark"] .modern-footer {
  background: linear-gradient(135deg, rgba(45, 55, 72, 0.95) 0%, rgba(26, 32, 44, 0.9) 100%);
  border-top-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .modern-footer::before {
  background: linear-gradient(90deg, transparent 0%, rgba(144, 205, 244, 0.3) 50%, transparent 100%);
}

[data-bs-theme="dark"] .modern-footer-copyright {
  color: #a0aec0;
}

[data-bs-theme="dark"] .modern-footer-brand {
  background: linear-gradient(135deg, #90cdf4 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-bs-theme="dark"] .modern-footer-privacy {
  color: #90cdf4;
}

[data-bs-theme="dark"] .modern-footer-privacy:hover {
  color: #90cdf4;
  background: rgba(144, 205, 244, 0.1);
}

[data-bs-theme="dark"] .modern-theme-toggle {
  border-color: rgba(144, 205, 244, 0.2);
  background: rgba(144, 205, 244, 0.1);
  color: #90cdf4;
}

[data-bs-theme="dark"] .modern-theme-toggle::before {
  background: linear-gradient(135deg, #90cdf4 0%, #a78bfa 100%);
}

[data-bs-theme="dark"] .modern-theme-toggle:hover {
  color: #fcfcfc;
  border-color: #90cdf4;
  box-shadow: 0 6px 20px rgba(144, 205, 244, 0.3);
}

[data-bs-theme="dark"] .modern-theme-toggle:hover span {
  color: #1a202c;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .modern-footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .modern-footer-left {
    flex-direction: column;
    gap: 0.5rem;
  }

  .modern-theme-toggle {
    width: 100%;
    max-width: 200px;
  }
}
/* ====== Footer Partial - End ====== */

/* ====== Hero Section - Start ====== */
.hero-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.02) 100%);
  border-radius: 30px;
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23667eea' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-welcome {
  font-size: 4rem;
  font-weight: 200;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -2px;
}

.hero-tagline {
  font-size: 1.4rem;
  color: #8b5cf6;
  font-weight: 300;
  margin-bottom: 2rem;
  font-style: italic;
  opacity: 0.9;
}

.hero-title {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: #374151;
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #6b7280;
  font-weight: 400;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.hero-btn-primary {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  letter-spacing: 0.5px;
}

.hero-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
  color: white;
  text-decoration: none;
}

.hero-btn-primary:hover::before {
  opacity: 1;
}

.hero-btn-primary:active {
  transform: translateY(-1px) scale(1);
}

.hero-btn-secondary {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(102, 126, 234, 0.3);
  color: #667eea;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-btn-secondary span {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.hero-btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: #667eea;
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
  text-decoration: none;
}

.hero-btn-secondary:hover::before {
  opacity: 1;
}

.hero-btn-secondary:hover span {
  color: white;
}

.hero-btn-secondary:active {
  transform: translateY(-1px) scale(1);
}

/* Floating elements animation */
.hero-section::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Dark theme adaptations */
[data-bs-theme="dark"] .hero-section {
  background: linear-gradient(135deg, rgba(45, 55, 72, 0.3) 0%, rgba(26, 32, 44, 0.2) 100%);
}

[data-bs-theme="dark"] .hero-welcome {
  background: linear-gradient(135deg, #90cdf4 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-bs-theme="dark"] .hero-tagline {
  color: #c084fc;
}

[data-bs-theme="dark"] .hero-title {
  color: #e2e8f0;
}

[data-bs-theme="dark"] .hero-subtitle {
  color: #a0aec0;
}

[data-bs-theme="dark"] .hero-btn-secondary {
  background: rgba(45, 55, 72, 0.9);
  border-color: rgba(144, 205, 244, 0.3);
  color: #90cdf4;
}

[data-bs-theme="dark"] .hero-btn-secondary::before {
  background: linear-gradient(135deg, #90cdf4 0%, #a78bfa 100%);
}

[data-bs-theme="dark"] .hero-btn-secondary:hover {
  border-color: #90cdf4;
}

[data-bs-theme="dark"] .hero-btn-secondary:hover span {
  color: #1a202c;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero-section {
    padding: 3rem 0;
    margin: 1rem 0;
  }

  .hero-welcome {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    max-width: 300px;
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-welcome {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }
}
/* ====== Hero Section - End ====== */

/* ====== Login Page - Start ====== */
 .login-container {
   min-height: 100vh;
   display: flex;
   align-items: center;
   justify-content: center;
   background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.03) 100%);
   padding: 2rem 0;
 }

.login-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  max-width: 900px;
  width: 100%;
}

.login-header {
  text-align: center;
  padding: 2rem 2rem 1rem 2rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.05) 100%);
  position: relative;
}

.login-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.login-title {
  font-size: 2.5rem;
  font-weight: 300;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.login-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0;
}

.login-form-section {
  padding: 2rem;
}

.login-form-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1.5rem;
  text-align: center;
}

.modern-form-floating {
  position: relative;
  margin-bottom: 1.5rem;
}

.modern-form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(102, 126, 234, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.modern-form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.2);
  background: rgba(255, 255, 255, 1);
}

.modern-form-control::placeholder {
  color: transparent;
}

.modern-form-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #6b7280;
  font-weight: 500;
  transition: all 0.3s ease;
  pointer-events: none;
  background: transparent;
  font-size: 1rem;
}

.modern-form-control:focus + .modern-form-label,
.modern-form-control:not(:placeholder-shown) + .modern-form-label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.8rem;
  color: #667eea;
  background: rgba(255, 255, 255, 0.9);
  padding: 0 0.5rem;
  border-radius: 4px;
}

.modern-checkbox {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem;
}

.modern-checkbox-input {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
  cursor: pointer;
}

.modern-checkbox-input:checked {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
}

.modern-checkbox-label {
  color: #374151;
  font-weight: 500;
  cursor: pointer;
  margin: 0;
}

.modern-login-btn {
  width: 100%;
  padding: 1rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.modern-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.modern-login-btn:active {
  transform: translateY(0);
}

.login-links {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.login-link {
  display: inline-block;
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
  margin: 0.3rem 0;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.login-link:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  text-decoration: none;
}

.external-section {
  padding: 2rem;
  background: rgba(248, 250, 252, 0.5);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.external-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1.5rem;
  text-align: center;
}

.external-btn {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  border: 2px solid rgba(102, 126, 234, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: #667eea;
  transition: all 0.3s ease;
  margin-bottom: 0.8rem;
  cursor: pointer;
}

.external-btn:hover {
  border-color: #667eea;
  background: #667eea;
  color: white;
}

.validation-message {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* Dark theme adaptations */
[data-bs-theme="dark"] .login-container {
  background: linear-gradient(135deg, rgba(45, 55, 72, 0.3) 0%, rgba(26, 32, 44, 0.2) 100%);
}

[data-bs-theme="dark"] .login-card {
  background: rgba(45, 55, 72, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .login-header {
  background: linear-gradient(135deg, rgba(144, 205, 244, 0.1) 0%, rgba(167, 139, 250, 0.05) 100%);
}

[data-bs-theme="dark"] .login-title {
  background: linear-gradient(135deg, #90cdf4 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-bs-theme="dark"] .login-subtitle,
[data-bs-theme="dark"] .login-form-title,
[data-bs-theme="dark"] .external-title {
  color: #e2e8f0;
}

[data-bs-theme="dark"] .modern-form-control {
  background: rgba(45, 55, 72, 0.8);
  border-color: rgba(144, 205, 244, 0.2);
  color: #e2e8f0;
}

[data-bs-theme="dark"] .modern-form-control:focus {
  border-color: #90cdf4;
  background: rgba(45, 55, 72, 1);
}

[data-bs-theme="dark"] .modern-form-label {
  color: #a0aec0;
}

[data-bs-theme="dark"] .modern-form-control:focus + .modern-form-label,
[data-bs-theme="dark"] .modern-form-control:not(:placeholder-shown) + .modern-form-label {
  color: #90cdf4;
  background: rgba(45, 55, 72, 0.9);
}

[data-bs-theme="dark"] .modern-checkbox-label {
  color: #e2e8f0;
}

[data-bs-theme="dark"] .external-section {
  background: rgba(26, 32, 44, 0.5);
  border-left-color: rgba(255, 255, 255, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .login-container {
    padding: 1rem;
  }

  .login-card {
    margin: 1rem;
  }

  .login-form-section,
  .external-section {
    padding: 1.5rem;
  }

  .login-title {
    font-size: 2rem;
  }

  .external-section {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
}
/* ====== Login Page - End ====== */


/* ====== Register Page - Start ====== */
.register-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(67, 233, 123, 0.05) 0%, rgba(56, 249, 215, 0.03) 100%);
  padding: 2rem 0;
}

.register-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  max-width: 1000px;
  width: 100%;
}

.register-header {
  text-align: center;
  padding: 2rem 2rem 1rem 2rem;
  background: linear-gradient(135deg, rgba(67, 233, 123, 0.1) 0%, rgba(56, 249, 215, 0.05) 100%);
  position: relative;
}

.register-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
  border-radius: 2px;
}

.register-title {
  font-size: 2.5rem;
  font-weight: 300;
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.register-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  font-weight: 400;
  margin: 0;
}

.register-form-section {
  padding: 2rem;
}

.register-form-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1.5rem;
  text-align: center;
}

.modern-form-floating {
  position: relative;
  margin-bottom: 1.5rem;
}

.modern-form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(67, 233, 123, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  font-size: 1rem;
  transition: all 0.3s ease;
  outline: none;
}

.modern-form-control:focus {
  border-color: #43e97b;
  box-shadow: 0 0 0 0.2rem rgba(67, 233, 123, 0.2);
  background: rgba(255, 255, 255, 1);
}

.modern-form-control::placeholder {
  color: transparent;
}

.modern-form-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: #6b7280;
  font-weight: 500;
  transition: all 0.3s ease;
  pointer-events: none;
  background: transparent;
  font-size: 1rem;
}

.modern-form-control:focus + .modern-form-label,
.modern-form-control:not(:placeholder-shown) + .modern-form-label {
  top: -0.5rem;
  left: 0.75rem;
  font-size: 0.8rem;
  color: #43e97b;
  background: rgba(255, 255, 255, 0.9);
  padding: 0 0.5rem;
  border-radius: 4px;
}

.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.modern-register-btn {
  width: 100%;
  padding: 1rem;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  border: none;
  color: white;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 8px 25px rgba(67, 233, 123, 0.3);
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.modern-register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(67, 233, 123, 0.4);
}

.modern-register-btn:active {
  transform: translateY(0);
}

.register-links {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.register-link {
  display: inline-block;
  color: #43e97b;
  text-decoration: none;
  font-weight: 500;
  margin: 0.3rem 0.5rem;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.register-link:hover {
  background: rgba(67, 233, 123, 0.1);
  color: #43e97b;
  text-decoration: none;
}

.external-section {
  padding: 2rem;
  background: rgba(248, 250, 252, 0.5);
  border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.external-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1.5rem;
  text-align: center;
}

.external-btn {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  border: 2px solid rgba(67, 233, 123, 0.2);
  background: rgba(255, 255, 255, 0.9);
  color: #43e97b;
  transition: all 0.3s ease;
  margin-bottom: 0.8rem;
  cursor: pointer;
}

.external-btn:hover {
  border-color: #43e97b;
  background: #43e97b;
  color: white;
}

.validation-message {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.login-redirect {
  text-align: center;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(67, 233, 123, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(67, 233, 123, 0.1);
}

.login-redirect-text {
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.login-redirect-link {
  color: #43e97b;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.login-redirect-link:hover {
  background: rgba(67, 233, 123, 0.1);
  color: #43e97b;
  text-decoration: none;
}

/* Dark theme adaptations */
[data-bs-theme="dark"] .register-container {
  background: linear-gradient(135deg, rgba(45, 55, 72, 0.3) 0%, rgba(26, 32, 44, 0.2) 100%);
}

[data-bs-theme="dark"] .register-card {
  background: rgba(45, 55, 72, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .register-header {
  background: linear-gradient(135deg, rgba(67, 233, 123, 0.1) 0%, rgba(56, 249, 215, 0.05) 100%);
}

[data-bs-theme="dark"] .register-title {
  background: linear-gradient(135deg, #6ee7b7 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-bs-theme="dark"] .register-subtitle,
[data-bs-theme="dark"] .register-form-title,
[data-bs-theme="dark"] .external-title {
  color: #e2e8f0;
}

[data-bs-theme="dark"] .modern-form-control {
  background: rgba(45, 55, 72, 0.8);
  border-color: rgba(67, 233, 123, 0.2);
  color: #e2e8f0;
}

[data-bs-theme="dark"] .modern-form-control:focus {
  border-color: #6ee7b7;
  background: rgba(45, 55, 72, 1);
}

[data-bs-theme="dark"] .modern-form-label {
  color: #a0aec0;
}

[data-bs-theme="dark"] .modern-form-control:focus + .modern-form-label,
[data-bs-theme="dark"] .modern-form-control:not(:placeholder-shown) + .modern-form-label {
  color: #6ee7b7;
  background: rgba(45, 55, 72, 0.9);
}

[data-bs-theme="dark"] .external-section {
  background: rgba(26, 32, 44, 0.5);
  border-left-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .login-redirect {
  background: rgba(45, 55, 72, 0.5);
  border-color: rgba(67, 233, 123, 0.2);
}

[data-bs-theme="dark"] .login-redirect-text {
  color: #a0aec0;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .register-container {
    padding: 1rem;
  }

  .register-card {
    margin: 1rem;
  }

  .register-form-section,
  .external-section {
    padding: 1.5rem;
  }

  .register-title {
    font-size: 2rem;
  }

  .name-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .external-section {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
}
/* ====== Register Page - End ====== */
