/* Auth login — panel.menuplus.com.tr ile aynı tasarım */

body.auth-login-page {
  font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  margin: 0;
}

.login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #ff720d 0%, #e5650b 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.login-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.login-panel-link {
  z-index: 10;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.85) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #ff720d !important;
  padding: 0.45rem 1rem;
  transition: all 0.2s ease;
}

.login-panel-link:hover {
  background: #fff !important;
  color: #e5650b !important;
  transform: translateY(-1px);
}

.login-card {
  border: none;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: #fff;
  position: relative;
  z-index: 1;
}

.login-card .card-header {
  background: transparent !important;
  border-bottom: none;
}

.login-card .form-control {
  border-radius: 12px;
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  font-size: 16px;
}

.login-card .form-control:focus {
  border-color: #ff720d;
  box-shadow: 0 0 0 0.2rem rgba(255, 114, 13, 0.25);
  transform: translateY(-2px);
}

.login-card .form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 8px;
}

.btn-login {
  background: linear-gradient(135deg, #ff720d 0%, #e5650b 100%);
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-login:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 114, 13, 0.3);
  color: #fff;
}

.btn-login:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-login::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-login:hover:not(:disabled)::before {
  left: 100%;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: auth-login-float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 10%;
  animation-delay: 2s;
}

.shape:nth-child(3) {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes auth-login-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

.login-card .input-group-text {
  background: transparent;
  border: 2px solid #e9ecef;
  border-right: none;
  border-radius: 12px 0 0 12px;
}

.login-card .input-group .form-control {
  border-left: none;
  border-radius: 0 12px 12px 0;
}

.login-card .input-group .form-control:not(:last-child) {
  border-radius: 0;
}

.login-card .input-group:focus-within .input-group-text {
  border-color: #ff720d;
}

.login-card .input-group:focus-within .btn-outline-secondary {
  border-color: #ff720d;
}

.login-card .alert-danger {
  border-radius: 12px;
}

.login-card .btn-outline-secondary {
  border: 2px solid #e9ecef;
  border-left: none;
  border-radius: 0 12px 12px 0;
}

.login-card .input-group .btn-outline-secondary {
  border-radius: 0 12px 12px 0;
}

/* Google butonu — panel ile aynı */
.google-btn-wrapper {
  position: relative;
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  overflow: hidden;
}

.google-btn-custom {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  color: #212529;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

.google-btn-wrapper:hover .google-btn-custom:not(:disabled) {
  background: #e9ecef;
  border-color: #dee2e6;
}

.google-btn-custom:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.auth-register-link {
  color: #ff720d !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.auth-register-link:hover {
  color: #e5650b !important;
}

.auth-inline-link {
  color: #ff720d !important;
  font-weight: 600;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.auth-inline-link:hover {
  color: #e5650b !important;
}

/* Checkbox — turuncu marka rengi */
.auth-card .form-check-input:focus {
  border-color: #ff720d;
  box-shadow: 0 0 0 0.2rem rgba(255, 114, 13, 0.25) !important;
}

.auth-card .form-check-input:checked {
  background-color: #ff720d;
  border-color: #ff720d;
}

.auth-card .form-check-input[type="checkbox"]:indeterminate {
  background-color: #ff720d;
  border-color: #ff720d;
}

.auth-card .form-check-label {
  color: #495057;
  font-size: 0.92rem;
  line-height: 1.5;
}

.auth-card .form-check-input.is-invalid {
  border-color: #dc3545;
}

@media (max-width: 768px) {
  .login-container {
    padding: 1rem 0.75rem !important;
  }

  .login-container .container {
    padding: 0 !important;
  }

  .login-card {
    border-radius: 16px !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
  }

  .login-card .card-header {
    padding: 1.5rem 1rem 0.5rem !important;
  }

  .login-card .card-header img {
    height: 50px !important;
  }

  .login-card .card-header p {
    font-size: 0.85rem !important;
  }

  .login-card .card-body {
    padding: 1rem !important;
    padding-top: 0.75rem !important;
  }

  .login-card .form-label {
    font-size: 0.9rem !important;
  }

  .login-card .form-control {
    padding: 0.6rem 0.75rem !important;
    font-size: 16px !important;
  }

  .btn-login {
    padding: 0.75rem !important;
    font-size: 0.9rem !important;
  }

  .google-btn-wrapper,
  .google-btn-custom {
    min-height: 46px !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  .login-container {
    padding: 0.75rem 0.5rem !important;
  }

  .login-card .card-header img {
    height: 45px !important;
  }

  .google-btn-wrapper,
  .google-btn-custom {
    min-height: 42px !important;
    font-size: 0.85rem !important;
  }
}
