/* Main Layout */
.auth-section {
  min-height: 100vh;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-wrapper {
  width: 100%;
  max-width: 1400px;
  min-height: 800px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
  display: flex;
  overflow: hidden;
}

/* Info Panel Styles */
.info-panel {
  width: 45%;
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
  padding: 4rem;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
}

.info-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/pattern.png");
  opacity: 0.1;
}

.brand-area {
  margin-bottom: 4rem;
  position: relative;
}

.auth-logo {
  height: 40px;
  /*filter: brightness(0) invert(1);*/
}

.info-content {
  /*flex: 1;*/
  position: relative;
  z-index: 1;
}

.info-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.info-content > p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.feature-text h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-text p {
  font-size: 0.95rem;
  opacity: 0.8;
  margin: 0;
}

.info-footer {
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Auth Forms Styles */
.auth-forms {
  width: 55%;
  padding: 4rem;
  background: #fff;
}

.forms-header {
  margin-bottom: 3rem;
}

.tab-buttons {
  display: flex;
  gap: 1rem;
  background: #f8fafc;
  padding: 0.5rem;
  border-radius: 12px;
}

.tab-btn {
  flex: 1;
  padding: 1rem;
  border: none;
  background: none;
  border-radius: 8px;
  font-weight: 600;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.tab-btn i {
  font-size: 1.1rem;
}

.tab-btn.active {
  background: #fff;
  color: #1a237e;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.form-container {
  display: none;
}

.form-container.active {
  display: block;
}

.auth-form {
  max-width: 480px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #334155;
}

.label-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.forgot-link {
  font-size: 0.9rem;
  color: #1a237e;
  text-decoration: none;
  font-weight: 500;
}

.input-wrapper {
  position: relative; /* İkonun konumlandırılması için */
}

.input-wrapper i {
  position: absolute;
  left: 1rem; /* Sol boşluk */
  top: 69%; /* Dikey ortalama */
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1.1rem;
  pointer-events: none; /* Tıklama etkisini kaldır */
  z-index: 2; /* İkonun input üzerinde görünmesini sağla */
}

.input-wrapper .text-widget input {
  padding-left: 3rem; /* İkona yer açmak için sol boşluk */
}

.input-wrapper .text-widget {
  position: relative; /* Input'un konumlandırmasını sağlar */
  background: #f8fafc;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.input-wrapper .text-widget:focus-within {
  background: #fff;
  box-shadow: 0 0 0 2px #1a237e20;
}

.form-control {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: none;
  background: transparent;
  color: #334155;
  font-size: 1rem;
}

.form-control::placeholder {
  color: #94a3b8;
}

.toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0;
}

.password-strength {
  margin-top: 0.75rem;
}

.progress {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: #1a237e;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.strength-text {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
}

.form-check {
  margin: 1.5rem 0;
}

.form-check-input {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.5rem;
  border-color: #cbd5e1;
}

.form-check-label {
  font-size: 0.95rem;
  color: #475569;
}

.form-check-label a {
  color: #1a237e;
  text-decoration: none;
  font-weight: 500;
}

.btn-auth {
  width: 100%;
  padding: 1rem;
  border: none;
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
  color: #fff;
  font-weight: 600;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.btn-auth:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 35, 126, 0.2);
}

.btn-auth i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn-auth:hover i {
  transform: translateX(4px);
}

/* Social Login */
.social-login {
  margin-top: 2rem;
}

.divider {
  text-align: center;
  position: relative;
  margin: 2rem 0;
  color: #64748b;
  font-size: 0.95rem;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 6rem);
  height: 1px;
  background: #e2e8f0;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-social {
  width: 100%;
  padding: 1rem;
  border: none;
  border-radius: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.btn-google {
  background: #fff;
  color: #334155;
  border: 2px solid #e2e8f0;
}

.btn-google:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.btn-facebook {
  background: #1877f2;
  color: #fff;
}

.btn-facebook:hover {
  background: #0c63d4;
}

.btn-social i {
  font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .auth-wrapper {
    max-width: 1100px;
  }

  .info-panel {
    padding: 3rem;
  }

  .info-content h1 {
    font-size: 2.8rem;
  }

  .auth-forms {
    padding: 3rem;
  }
}

@media (max-width: 991px) {
  .auth-wrapper {
    flex-direction: column;
    min-height: auto;
  }

  .info-panel,
  .auth-forms {
    width: 100%;
  }

  .info-panel {
    padding: 3rem 2rem;
  }

  .feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .stats {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .auth-section {
    padding: 1rem;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .stats {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .stat-item {
    flex: 0 0 calc(50% - 1rem);
    align-items: center;
  }
}

@media (max-width: 576px) {
  .auth-wrapper {
    border-radius: 20px;
  }

  .info-panel,
  .auth-forms {
    padding: 2rem 1.5rem;
  }

  .info-content h1 {
    font-size: 2.2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .tab-buttons {
    flex-direction: column;
  }

  .stat-item {
    flex: 0 0 100%;
  }
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e2022;
  margin-bottom: 0.5rem;
}

.form-header p {
  color: #77838f;
  font-size: 0.9rem;
  line-height: 1.5;
}

.btn-link {
  background: none;
  border: none;
  color: #202230;
  font-size: 0.9rem;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.btn-link:hover {
  color: #0052cc;
}

.form-footer {
  text-align: center;
  margin-top: 1.5rem;
}

.back-to-login {
  margin: 0 auto;
}

/* Social Login Styles */
.social-login {
    width: 100%;
    margin-top: 24px;
}

.social-login .divider {
    text-align: center;
    color: #8D98B2;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    position: relative;
    width: 100%;
}
.login .divider {
    text-align: center;
    color: #8D98B2;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    position: relative;
    width: 100%;
}
.social-login .divider::before,
.social-login .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: #EBF1F7;
}

.social-login .divider::before {
    left: 0;
}

.social-login .divider::after {
    right: 0;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.btn-social {
    width: 100%;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #EBF1F7;
}

.btn-social:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-google {
    background-color: #fff;
    color: #3F4250;
    border-color: #EBF1F7;
}

.btn-google:hover {
    background-color: #f8f9fa;
    color: #3F4250;
}

.btn-google i {
    color: #4285f4;
}

.btn-facebook {
    background-color: #1877F2;
    color: white;
    border-color: #1877F2;
}

.btn-facebook:hover {
    background-color: #166fe5;
    color: white;
}

.btn-facebook.bg-dark {
    background-color: #000;
    border-color: #000;
}

.btn-facebook.bg-dark:hover {
    background-color: #333;
}

.btn-facebook.bg-dark i {
    color: white;
}

.btn-social i {
    font-size: 18px;
}

.btn-social span {
    font-weight: 500;
}
