/* ============================================
   LERN LOGIN PAGE - ADVANCED CSS
   ============================================ */

/* CSS Variables */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(-45deg, #8ac7cf, #1eba9d, #ffffff);
  --accent-color: #4788bb;
  
  --success-color: #1eba9d;
  --text-dark: #1a1a2e;
  --text-light: #ffffff;
  --text-muted: #6b7280;
  --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.15);
  --shadow-strong: 0 15px 50px rgba(0, 0, 0, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 25px;
}

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

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(-45deg, #8ac7cf, #1eba9d, #ffffff, #667eea);
  background-size: 400% 400%;
  animation: gradientFlow 15s ease infinite;
  position: relative;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Floating particles background effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(30, 186, 157, 0.1) 0%, transparent 50%);
  animation: particleFloat 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-20px) scale(1.05);
    opacity: 0.8;
  }
}

/* ============================================
   CONTAINER
   ============================================ */

.container-fluid#giris {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  
  position: relative;
  z-index: 1;
}

/* ============================================
   LOGO
   ============================================ */

.logo {
  width: 200px;
  height: auto;
  transition: var(--transition);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
  margin-top: -50px;
}

.logo:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 20px rgba(102, 126, 234, 0.4));
}

/* ============================================
   QUOTE CONTAINER
   ============================================ */

#quoteContainer {
  text-align: center;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text-dark);
  max-width: 800px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: opacity 1s ease, transform 0.5s ease;
  z-index: 1;
  margin-top: -40px;
}

#quoteContainer p:first-child {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.6;
  text-shadow: 2px 2px 6px rgba(255, 255, 255, 0.5);
}

#quoteContainer p:last-child {
  font-size: 18px;
  font-style: italic;
  color: var(--text-muted);
  font-weight: 500;
}

/* Quote animation */
#quoteContainer.fade-in {
  animation: fadeInScale 1s ease;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ============================================
   LOGIN CARD
   ============================================ */

.login-container {
  width: 100%;
  max-width: 450px;
  position: relative;
  z-index: 10;
}

#loginCard {
  animation: slideInUp 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.card {
  border: none;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-strong);
  margin-top: 10px;
  width: 100%;
  height: 500px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Card glow effect */
.card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #667eea, #1eba9d, #667eea);
  border-radius: 20px;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition);
  animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}




.card-body {
  padding: 40px 30px;
  background: transparent;
}

/* ============================================
   FORM STYLES
   ============================================ */

#girisForm {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Form groups */
.form-group {
  position: relative;
  margin-bottom: 25px;
}

/* Labels */
.form-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text-dark);
  transition: var(--transition);
}

/* Input fields */
.form-control {
  width: 100%;
  padding: 15px 20px 15px 70px;
  font-size: 16px;
  height: 55px;
  border: 2px solid #e5e7eb;
  border-radius: 15px;
  background: #f9fafb;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
  font-family: inherit;
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.form-control:focus {
  border-color: var(--accent-color);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(71, 136, 187, 0.1);
  transform: translateY(-2px);
}
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.notification.success {
    background-color: #4CAF50;
}

.notification.error {
    background-color: #f44336;
}

.notification.warning {
    background-color: #ff9800;
}

.notification.hidden {
    display: none;
}

#notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    margin-left: 10px;
}
/* Input icons */
.input-icon {
  position: absolute;
  left: 15px;
  top: 65%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  z-index: 2;
  transition: var(--transition);
  pointer-events: none;
}

.form-group:focus-within .input-icon {
  transform: translateY(-50%) scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.3));
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  border: none;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  text-transform: none;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}



/* Primary button (Giriş Yap) */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-color), #3b6d8f);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(71, 136, 187, 0.3);
  margin-top: 10px;
}



.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(71, 136, 187, 0.3);
}

/* Success buttons */
.btn-success {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid transparent;
  font-weight: 600;
  padding: 12px 25px;
}

.btn-success a {
  color: inherit;
  text-decoration: none;
  display: block;
}



/* ============================================
   FORM LAYOUT
   ============================================ */

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.form-header h1 {
  font-size: 18px;
  margin: 0;
  font-weight: bold;
  color: var(--text-dark);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* ============================================
   CHECKBOX (Remember Me)
   ============================================ */

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 12px 0;
}

.form-check-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  border-radius: 6px;
  border: 2px solid #e5e7eb;
  transition: var(--transition);
  accent-color: var(--accent-color);
}

.form-check-input:checked {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(71, 136, 187, 0.1);
}

.form-check-label {
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  user-select: none;
  transition: var(--transition);
}



/* ============================================
   LINKS
   ============================================ */

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width var(--transition);
}




/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 992px) {
  .logo {
    width: 160px;
  }

  #quoteContainer {
    padding: 20px;
    max-width: 90%;
  }

  #quoteContainer p:first-child {
    font-size: 20px;
  }

  #quoteContainer p:last-child {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .container-fluid#giris {
    padding: 15px;
  }

  .logo {
    width: 140px;
  }

  #quoteContainer {
    padding: 15px;
  }

  #quoteContainer p:first-child {
    font-size: 18px;
  }

  #quoteContainer p:last-child {
    font-size: 14px;
  }

  .card-body {
    padding: 30px 20px;
  }

  .form-control {
    padding: 12px 15px 12px 60px;
    height: 50px;
    font-size: 14px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .logo {
    width: 120px;
  }

  #quoteContainer {
    display: none;
  }

  .card-body {
    padding: 25px 15px;
  }

  .form-control {
    padding: 10px 12px 10px 55px;
    height: 45px;
    font-size: 13px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .form-check-label {
    font-size: 14px;
  }

  .form-header h1 {
    font-size: 16px;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.w-100 {
  width: 100%;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

/* Hidden elements */
h1[style*="display: none"],
#api {
  display: none !important;
}