/* reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,dl,dt,dd,ol,nav ul,nav li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}
article, aside, details, figcaption, figure,footer, header, hgroup, menu, nav, section {display: block;}
ol,ul{list-style:none;margin:0px;padding:0px;}
blockquote,q{quotes:none;}
blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}
table{border-collapse:collapse;border-spacing:0;}
a{text-decoration:none;}
.clear{clear:both;}
img{max-width:100%;}

/* --- YENİ ARKA PLAN (2 Numara: Gümüş Gri & Açık Platin) --- */
body{
  background: #F4F5F7; 
  background: linear-gradient(135deg, #E4E7EB 0%, #ffffff 100%); /* Ferah ve temiz kurumsal geçiş */
  background-attachment: fixed;
  font-family: 'Source Sans Pro', sans-serif;
  padding-bottom: 50px;
  min-height: 100vh;
}

/* --- LOGO ALANI (Şeffaf ve Açık Zemine Uygun) --- */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 45px auto 30px auto;
  position: relative;
}

.logo-img {
  width: 280px;
  height: 110px;
  object-fit: contain;
  display: block;
  background: none;
  border: none;
  box-shadow: none;
}

/* --- KART YAPISI (Açık Zeminde Kontrast Yaratacak Şekilde) --- */
.auth-card {
  margin: 0 auto;
  width: 32%; 
  background: #090B1B; /* Koyu kart açık zeminde çok şık durur */
  padding: 35px 40px;
  /* Kartı açık zeminden ayırmak için koyu, yumuşak bir gölge */
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  border: none; 
  border-radius: 8px;
  box-sizing: border-box;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.auth-card.wide-card {
  width: 55%;
  max-width: 950px;
}

.auth-section {
  display: none;
}
.auth-section.active {
  display: block;
}

/* --- ORTALANMIŞ MODERN BAŞLIKLAR --- */
.section-heading {
  color: #fff;
  font-size: 1.55em;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  margin-bottom: 25px;
  text-align: center; 
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 55px;
  height: 3px;
  background: #ba3627; 
  margin: 8px auto 0 auto; 
}

/* --- BUTON HAREKETLERİ & GEÇİŞLER --- */
body a, .submit input[type="submit"], .submit.three input[type="submit"], .submit.two input[type="submit"], .sign-up input[type="submit"], .sign-up input[type="reset"] {
  transition: 0.1s all;
  -webkit-transition: 0.1s all;
  -moz-transition: 0.1s all;
  -o-transition: 0.1s all;
}

.sign-up {
  padding: 1.5em 0 0.5em 0;
}

.sign-up input[type="reset"] {
  float: left;
  background: #A12112;
  padding: 0.8em 1.6em;
  color: #fff;
  font-weight: 400;
  border: none;
  outline: none;
  font-size: 1em;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  border-radius: 4px;
}

.sign-up input[type="submit"] {
  float: right;
  background: #A12112;
  padding: 0.8em 1.8em;
  color: #fff;
  font-weight: 400;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1em;
  font-family: 'Raleway', sans-serif;
  border-radius: 4px;
}

.sign-up input[type="reset"]:hover, 
.sign-up input[type="submit"]:hover, 
.submit.two input[type="submit"]:hover, 
.submit.three input[type="submit"]:hover {
  -webkit-transform: rotate(4deg);
  transform: rotate(4deg);
  -o-transform: rotate(4deg);
  -moz-transform: rotate(4deg);
}

.submit.two {
  float: right;
  width: 100%;
  margin-top: 5px;
}

.submit.two input[type="submit"] {
  font-size: 1.05em;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  outline: none;
  padding: 0.9em 2em;
  border: none;
  background: #BA3627;
  font-family: 'Raleway', sans-serif;
  width: 100%;
  border-radius: 4px;
}

.submit.three input[type="submit"] {
  font-size: 1em;
  font-weight: 400;
  color: #fff;
  cursor: pointer;
  outline: none;
  padding: 1em 2em;
  border: none;
  background: #BA3627;
  margin-top: 1.2em;
  font-family: 'Raleway', sans-serif;
  width: 100%;
  border-radius: 4px;
}

/* --- YAN YANA 2 SATIR 3 SÜTUN GRID MİMARİSİ --- */
.grid-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 16px 20px; 
  width: 100%;
}

.modern-form .form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.modern-form label {
  color: #fff;
  font-size: 0.9em;
  margin-bottom: 5px;
  font-family: 'Raleway', sans-serif;
  font-weight: 500;
}

/* Input Genel Stilleri */
.login input[type="text"], 
.login input[type="password"], 
.modern-form input[type="text"], 
.modern-form input[type="password"] {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 15px 12px 42px;
  color: #fff;
  font-size: 15px;
  outline: none;
  font-weight: 400;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(186, 40, 23, 0.5);
  margin: 5px 0;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  transition: all 0.2s ease;
}

/* İkonlu Giriş Alanları Arka Planları */
.login input[type="text"], 
.modern-form input[name="dp_userEmail"] {
  background: url("../images/mail.png") no-repeat 14px 15px rgba(255, 255, 255, 0.06);
}
.login input[type="password"], 
.modern-form input[name="dp_userPassword"] {
  background: url("../images/lock.png") no-repeat 14px 14px rgba(255, 255, 255, 0.06);
}

.grid-form .form-group input[type="text"]:not([name="dp_userEmail"]) {
  padding-left: 15px;
  background-image: none;
}

.login input[type="text"]:focus, 
.login input[type="password"]:focus,
.modern-form input[type="text"]:focus,
.modern-form input[type="password"]:focus {
  border-color: #eb5242;
  background-color: rgba(255, 255, 255, 0.12);
}

.p-container { margin: 0.5em 0; }
form.sub p.forgot-info-text {
  font-size: 0.95em;
  color: #ccc;
  padding-bottom: 10px;
  font-family: 'Raleway', sans-serif;
  text-align: left;
  line-height: 1.5em;
}

/* --- ALT GEÇİŞ BAĞLANTILARI --- */
.auth-footer-links {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9em;
  font-family: 'Raleway', sans-serif;
}

.footer-link {
  color: #aaa;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-link.highlighted {
  color: #eb5242;
  font-weight: 500;
}

.divider {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 12px;
}

/* --- RESPONSIVE & EKRAN UYUMLULUĞU --- */
@media (max-width: 1440px) {
  .auth-card { width: 38%; }
  .auth-card.wide-card { width: 65%; }
}
@media (max-width: 1280px) {
  .auth-card { width: 44%; }
  .auth-card.wide-card { width: 75%; }
}
@media (max-width: 1024px) {
  .auth-card { width: 55%; }
  .auth-card.wide-card { width: 85%; }
}
@media (max-width: 768px) {
  .auth-card, .auth-card.wide-card { width: 80%; }
  .grid-form {
    grid-template-columns: 1fr; 
    gap: 12px;
  }
}
@media (max-width: 480px) {
  .auth-card, .auth-card.wide-card { width: 92%; padding: 25px 20px; }
  .logo-img { width: 220px; height: 90px; } /* Mobilde logo biraz küçülür */
  .auth-footer-links { flex-direction: column; gap: 10px; }
  .divider { display: none; }
}

/* ========================================================================
   TEMA 3: KIZIL YANSIMALI PREMIUM SİYAH & KIRMIZI VURGU (OVERRIDE)
   ======================================================================== */

/* 1. GENEL ARKA PLAN (Kızıl Işıklı Siyah) */
body, .app-content, .content-wrapper, .content-body {
    background-color: #050505 !important;
    background-image: radial-gradient(circle at 10% 10%, #300a14 0%, #050505 70%) !important;
    background-attachment: fixed !important;
    color: #e0e0e0 !important;
}

/* 2. ÜST BAR (Navbar) */
.header-navbar, .header-navbar.navbar-semi-dark {
    background: #090B1B !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}
.header-navbar .navbar-container ul.nav li a, 
.header-navbar .navbar-header .navbar-brand .brand-text {
    color: #e0e0e0 !important;
}
/* Üst menü profil dropdown içi */
.dropdown-menu {
    background-color: #090B1B !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}
.dropdown-menu .dropdown-item {
    color: #ccc !important;
}
.dropdown-menu .dropdown-item:hover {
    background-color: rgba(186, 54, 39, 0.15) !important;
    color: #fff !important;
}

/* 3. SOL MENÜ (Sidebar) */
.main-menu, .main-menu .navigation, .main-menu-content {
    background: #090B1B !important;
    border-right: 1px solid rgba(255,255,255,0.05) !important;
}
.main-menu .navigation li a {
    color: #a0a5b5 !important;
}
/* Sol Menü Aktif / Hover Durumu (Kırmızı Vurgu) */
.main-menu .navigation li.active > a, 
.main-menu .navigation li:hover > a,
.main-menu .navigation li.open > a {
    background: rgba(186, 54, 39, 0.15) !important;
    color: #fff !important;
    border-left: 4px solid #BA3627 !important;
}
/* Alt menü arka planı */
.main-menu .navigation .menu-content {
    background: rgba(0, 0, 0, 0.3) !important;
}

/* 4. KARTLAR VE KUTULAR (Beyaz Glow Efekti) */
.card, .box {
    background: #090B1B !important;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05), 0 10px 20px rgba(0,0,0,0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px !important;
}
.card-header, .card-footer {
    background: transparent !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
}
.card .card-title, .card-header .heading-elements {
    color: #fff !important;
}

/* 5. BUTONLAR (Kurumsal Kırmızı) */
.btn-primary, .btn-info, .btn-success, .btn-warning, .btn-danger {
    background-color: #BA3627 !important;
    border-color: #BA3627 !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(186, 54, 39, 0.3) !important;
    transition: all 0.2s ease !important;
}
.btn-primary:hover, .btn-info:hover, .btn-success:hover {
    background-color: #9c2d20 !important;
    border-color: #9c2d20 !important;
    transform: translateY(-2px) !important;
}

/* 6. TABLOLAR (Dark Mod Uyumu) */
.table th, .table td {
    color: #ccc !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
}
.table thead th {
    border-bottom: 2px solid rgba(186, 54, 39, 0.5) !important;
    color: #fff !important;
    background: rgba(255,255,255,0.03) !important;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255,255,255,0.02) !important;
}

/* 7. GENEL YAZI VE INPUT RENKLERİ */
h1, h2, h3, h4, h5, h6, .text-muted, p, span, label {
    color: #e0e0e0 !important;
}
.text-bold-800 {
    color: #fff !important;
}
/* Form Inputları */
.form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(186, 40, 23, 0.4) !important;
    color: #fff !important;
}
.form-control:focus {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: #BA3627 !important;
    color: #fff !important;
}

/* 8. FOOTER (Alt Kısım) */
footer.footer {
    background: #090B1B !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}