/* ============================================================
   ByteExport Landing Page Theme for Login Page
   Bu CSS dosyası mevcut login.php'nin stillerini ezecek
   Class ve name'lerde değişiklik yapılmadı
   ============================================================ */

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

/* ============================================================
   GLOBAL OVERRIDES - Sayfa Arkaplanı ve Base Stiller
   ============================================================ */

/* Ana sayfa arkaplanı - Landing page ile aynı */
body,
.c-layout-page {
  background: linear-gradient(135deg, #EBF5FF 0%, #FFFFFF 50%, #E8E9FF 100%) !important;
  background-attachment: fixed !important;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: #0F172A !important;
  min-height: 100vh;
}

/* Container override */
.c-layout-page .container {
  max-width: 1152px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .c-layout-page .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* ============================================================
   LOGO STYLE
   ============================================================ */
.c-layout-page .container img.be-logo {
  width: 95px;
  height: 95px; /* mutlaka ver */
  filter: drop-shadow(0 4px 6px rgba(0, 29, 108, 0.15));
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.c-layout-page .container img[alt="Byte Export Logo"]:hover {
  transform: scale(1.05);
}

/* ============================================================
   CONTENT BOX - Ana Panel Stili (NeonPanel Efekti)
   ============================================================ */

.c-content-box {
  background: transparent !important;
  padding: 64px 0 96px 0 !important;
  position: relative;
  z-index: 20;
}

@media (max-width: 768px) {
  .c-content-box {
    padding: 48px 0 64px 0 !important;
  }
}

/* ============================================================
   PANEL OVERRIDES - NeonPanel Efekti
   ============================================================ */

.panel.panel-default.c-panel {
  /* Gradient border wrapper */
  background: linear-gradient(135deg, 
    rgba(0,29,108,0.4) 0%, 
    rgba(0,51,153,0.2) 50%, 
    rgba(0,29,108,0.4) 100%) !important;
  padding: 1px !important;
  border-radius: 24px !important;
  border: none !important;
  box-shadow: 0 0 24px -16px rgba(0, 29, 108, 0.25) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 24px;
}

.panel.panel-default.c-panel:hover {
  box-shadow: 0 0 40px -12px rgba(0, 29, 108, 0.5) !important;
  transform: translateY(-4px);
}

.panel-body.c-panel-body {
  background: rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(0, 29, 108, 0.2) !important;
  border-radius: calc(24px - 1px) !important;
  padding: 32px !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .panel-body.c-panel-body {
    padding: 24px !important;
  }
}

/* ============================================================
   TITLE & HEADINGS
   ============================================================ */

.c-content-title-1 h3 {
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 16px !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

.c-content-title-1 h3 i {
  color: #001D6C !important;
  font-size: 20px !important;
}

.c-content-title-1 .c-line-left {
  background: linear-gradient(90deg, #001D6C 0%, #003399 50%, rgba(0,29,108,0.1) 100%) !important;
  height: 3px !important;
  width: 60px !important;
  border-radius: 2px !important;
  margin-bottom: 24px !important;
  margin-left: 0 !important;
}

/* ============================================================
   FORM ELEMENTS - Input, Select, Textarea
   ============================================================ */

.form-control.c-square.c-theme,
input.form-control,
select.form-control,
textarea.form-control {
  background: #FFFFFF !important;
  border: 1px solid #CBD5E1 !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  font-size: 16px !important;
  color: #0F172A !important;
  outline: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: none !important;
  height: auto !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-weight: 400;
}

.form-control.c-square.c-theme:focus,
input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
  border-color: #001D6C !important;
  box-shadow: 0 0 0 3px rgba(0, 29, 108, 0.1) !important;
  background: #FFFFFF !important;
}

.form-control.c-square.c-theme::placeholder,
input.form-control::placeholder {
  color: #94A3B8 !important;
  font-weight: 400;
}

/* Form group with feedback icons */
.form-group.has-feedback {
  position: relative;
  margin-bottom: 20px;
}

.form-group.has-feedback .form-control-feedback {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: #64748B !important;
  pointer-events: none;
  z-index: 2;
  font-size: 18px;
}

.form-group.has-feedback input {
  padding-right: 50px !important;
}

/* Select styling */
.select2me,
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-right: 40px !important;
}

/* ============================================================
   BUTTONS - Primary & Ghost Style
   ============================================================ */

/* Primary Button (theme button) */
.btn.c-theme-btn,
button[type="submit"].btn,
.btn.c-btn-uppercase {
  background: #001D6C !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 16px 24px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 16px -4px rgba(0, 29, 108, 0.3) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  min-height: 48px;
  font-family: 'Inter', system-ui, sans-serif !important;
}

.btn.c-theme-btn:hover,
button[type="submit"].btn:hover,
.btn.c-btn-uppercase:hover {
  background: #003399 !important;
  transform: scale(1.05) !important;
  box-shadow: 0 12px 20px -4px rgba(0, 29, 108, 0.4) !important;
}

.btn.c-theme-btn:active,
button[type="submit"].btn:active {
  transform: scale(0.98) !important;
}

.btn.c-theme-btn:focus,
button[type="submit"].btn:focus {
  outline: 2px solid #001D6C;
  outline-offset: 2px;
}

/* Back button (secondary style) */
#fp-back-btn,
.btn.c-theme-btn.c-btn-square:not([type="submit"]) {
  background: #FFFFFF !important;
  color: #0F172A !important;
  border: 1px solid #CBD5E1 !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

#fp-back-btn:hover {
  background: #F8FAFC !important;
  border-color: #001D6C !important;
  color: #001D6C !important;
}

/* ============================================================
   CHECKBOX & LABELS
   ============================================================ */

.rememberme.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: #475569;
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
  font-weight: 500;
}

.rememberme.check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid #CBD5E1;
  border-radius: 4px;
  cursor: pointer;
  accent-color: #001D6C;
  margin: 0;
}

.rememberme.check input[type="checkbox"]:checked {
  background-color: #001D6C;
  border-color: #001D6C;
}

label.control-label {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.01em;
}

/* ============================================================
   ALERTS
   ============================================================ */

.alert.alert-danger {
  background: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  border-radius: 12px !important;
  color: #DC2626 !important;
  padding: 16px 20px !important;
  font-size: 15px !important;
  margin-bottom: 20px !important;
  font-weight: 500;
}

.alert.alert-warning {
  background: rgba(251, 191, 36, 0.1) !important;
  border: 1px solid rgba(251, 191, 36, 0.3) !important;
  border-radius: 12px !important;
  color: #D97706 !important;
  padding: 16px 20px !important;
  font-size: 14px !important;
  margin-top: 12px !important;
  font-weight: 500;
  line-height: 1.6;
}

/* Hide alert initially */
.alert.c-hide {
  display: none !important;
}

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

a,
a:link,
a:visited {
  color: #001D6C !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: all 0.2s ease;
}

a:hover,
a:focus {
  color: #003399 !important;
  text-decoration: underline !important;
}

#shformFP {
  font-size: 15px;
  display: inline-block;
  margin-top: 8px;
}

/* ============================================================
   SPACING & LAYOUT UTILITIES
   ============================================================ */

.c-margin-t-20 {
  margin-top: 20px !important;
}

.c-margin-t-40 {
  margin-top: 40px !important;
}

.cs-margin-top-30 {
  margin-top: 30px !important;
}

.row {
  margin-left: -12px;
  margin-right: -12px;
}

.row > [class*="col-"] {
  padding-left: 12px;
  padding-right: 12px;
}

/* ============================================================
   CAPTCHA AREA
   ============================================================ */

.input-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.input-group .input-group-btn img {
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  background: #FFFFFF;
  padding: 4px;
  display: block;
}

.input-group a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.input-group a:hover {
  background: #F8FAFC;
  border-color: #001D6C;
  transform: rotate(180deg);
}

.input-group a i.fa-refresh {
  color: #001D6C;
  font-size: 16px;
}

/* ============================================================
   MESSAGE PANEL (Success/Error)
   ============================================================ */

#divLoginPageMessagePanel.panel.panel-default.c-panel {
  background: linear-gradient(135deg, 
    rgba(16,185,129,0.4) 0%, 
    rgba(5,150,105,0.2) 50%, 
    rgba(16,185,129,0.4) 100%) !important;
  border-radius: 24px !important;
  padding: 1px !important;
}

#divLoginPageMessagePanel .panel-body {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(12px) !important;
  border-radius: calc(24px - 1px) !important;
  padding: 32px !important;
}

#divLoginPageMessageBody {
  font-size: 16px;
  line-height: 1.6;
  color: #0F172A;
  font-weight: 500;
}

.btn.c-btn-green-3 {
  background: #10B981 !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 16px 32px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 16px -4px rgba(16, 185, 129, 0.3) !important;
  transition: all 0.2s ease !important;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.btn.c-btn-green-3:hover {
  background: #059669 !important;
  transform: scale(1.05) !important;
  box-shadow: 0 12px 20px -4px rgba(16, 185, 129, 0.4) !important;
}

/* ============================================================
   HELPER CLASSES
   ============================================================ */

.c-hide {
  display: none !important;
}

.c-show {
  display: block !important;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

@media (max-width: 768px) {
  .c-content-title-1 h3 {
    font-size: 20px !important;
  }
  
  .form-control.c-square.c-theme,
  input.form-control,
  select.form-control {
    padding: 14px 18px !important;
    font-size: 15px !important;
  }
  
  .btn.c-theme-btn,
  button[type="submit"].btn {
    padding: 14px 20px !important;
    font-size: 15px !important;
    min-height: 44px;
  }
  
  .panel-body.c-panel-body {
    padding: 20px !important;
  }
  
  .row.c-margin-t-40 {
    margin-top: 24px !important;
  }
  
  .row > .col-xs-6 {
    width: 100%;
    margin-bottom: 12px;
  }
  
  .row > .col-xs-4 {
    width: 100%;
    margin-left: 0 !important;
  }
  
  .btn.pull-right {
    float: none !important;
    width: 100%;
  }
}

/* ============================================================
   GRID BACKGROUND PATTERN (Subtle, like landing page)
   ============================================================ */

.c-layout-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image: 
    linear-gradient(rgba(0, 29, 108, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 29, 108, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 0 0;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

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

.panel.panel-default.c-panel {
  animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.panel.panel-default.c-panel:nth-child(1) {
  animation-delay: 0.1s;
}

.panel.panel-default.c-panel:nth-child(2) {
  animation-delay: 0.2s;
}

/* ============================================================
   FOCUS VISIBLE for Accessibility
   ============================================================ */

*:focus-visible {
  outline: 2px solid #001D6C !important;
  outline-offset: 2px !important;
  border-radius: 4px;
}

button:focus-visible,
.btn:focus-visible {
  outline-offset: 4px !important;
}

/* ============================================================
   CUSTOM SCROLLBAR (Chrome/Safari)
   ============================================================ */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #001D6C, #003399);
  border-radius: 5px;
  border: 2px solid #F1F5F9;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #003399, #0047AB);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: #001D6C #F1F5F9;
}

/* ============================================================
   SHOP CODE ALERT SPECIFIC STYLING
   ============================================================ */

.alert.alert-warning.c-alert-shop {
  background: rgba(0, 29, 108, 0.05) !important;
  border: 1px solid rgba(0, 29, 108, 0.2) !important;
  color: #001D6C !important;
  font-size: 13px !important;
  padding: 12px 16px !important;
  border-radius: 10px !important;
  line-height: 1.5;
}

/* ============================================================
   ROW SPACING FIX
   ============================================================ */

.c-shop-login-register-1 .row {
  margin-bottom: 0;
}

.c-shop-login-register-1 > .row > [class*="col-"] {
  margin-bottom: 0;
}

/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
  .c-layout-page::before {
    display: none;
  }
  
  body,
  .c-layout-page {
    background: white !important;
  }
  
  .panel.panel-default.c-panel {
    box-shadow: none !important;
    background: white !important;
    border: 1px solid #000 !important;
  }
}

/* ============================================================
   END OF BYTEEXPORT LOGIN THEME
   ============================================================ */
