﻿/* ===========================================
   RAPORTOR.NET GLOBAL RENK PALETİ
   =========================================== */
:root {
  --primary: #2F5061;
  --secondary: #3A4750;
  --background: #F8F8F8;
  --accent: #30C5FF;
  --text: #1A1A1A;
}

/* ===========================================
   GENEL RESET
   =========================================== */
* {
  box-sizing: border-box;
}

/* ===========================================
   GİRİŞ SAYFASI (AUTH) TASARIMI
   =========================================== */
body:not(.layout-active) {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(48, 197, 255, 0.12), transparent 55%), radial-gradient(circle at bottom right, rgba(47, 80, 97, 0.18), transparent 55%), var(--background);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
}

body.layout-active {
  display: flex !important;
  flex-direction: column !important;
  justify-content: initial !important;
  align-items: initial !important;
  background: var(--background) !important;
  min-height: 100vh;
}

/* AUTH WRAPPER */
.auth-wrapper {
  width: 100%;
  max-width: 1100px;
  padding: 24px;
}

/* CARD */
.auth-card {
  background: rgba(248, 248, 248, 0.92);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

@media (max-width: 768px) {
  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-hero {
    display: none;
  }
}

/* SOL TARAF HERO */
.auth-hero {
  position: relative;
  padding: 32px;
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  color: #fff;
  overflow: hidden;
}

  .auth-hero::before,
  .auth-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    filter: blur(18px);
    opacity: 0.35;
    animation: float 12s ease-in-out infinite;
  }

  .auth-hero::before {
    width: 220px;
    height: 220px;
    background: #30C5FF;
    top: -60px;
    right: -40px;
  }

  .auth-hero::after {
    width: 260px;
    height: 260px;
    background: #F8F8F8;
    bottom: -70px;
    left: -40px;
    animation-delay: -4s;
  }

/* Floating Kart */
@keyframes float {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -10px, 0) scale(1.03);
  }
}

.auth-footer-text {
  margin-top: 20px;
}

.auth-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.auth-logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(248, 248, 248, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 18px;
}

.auth-logo-text {
  font-size: 18px;
  font-weight: 600;
}

.auth-hero-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;
}

.auth-hero-subtitle {
  font-size: 14px;
  opacity: 0.82;
  max-width: 320px;
}

.auth-hero-badges {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(248, 248, 248, 0.3);
  background: rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #30C5FF;
}

/* Floating Card */
.auth-hero-illustration {
  position: absolute;
  right: 30px;
  bottom: 28px;
  width: 220px;
  max-width: 45%;
}

.card-floating {
  background: rgba(248, 248, 248, 0.08);
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  animation: float 10s ease-in-out infinite;
}

.card-floating-title {
  font-weight: 600;
  font-size: 12px;
}

.card-floating-text {
  font-size: 11px;
  opacity: 0.85;
}

/* FORM TARAFI */
.auth-form {
  padding: 34px 36px;
}

@media (max-width: 576px) {
  .auth-form {
    padding: 26px 22px;
  }
}

.auth-form-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--primary);
}

.auth-form-subtitle {
  font-size: 13px;
  color: #555;
  margin-bottom: 24px;
}

.form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--secondary);
}

.form-control {
  border-radius: 12px;
  border: 1px solid rgba(58, 71, 80, 0.2);
  font-size: 14px;
  padding: 10px 12px;
}

  .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.15rem rgba(48, 197, 255, 0.25);
  }

/* BUTTON */
.btn-primary-soft {
  background: var(--primary);
  border: none;
  color: #fff;
  width: 100%;
  border-radius: 14px;
  padding: 11px 16px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-shadow: 0 12px 28px rgba(47, 80, 97, 0.35);
}

  .btn-primary-soft:hover {
    background: #253d4a;
    transform: translateY(-1px);
    box-shadow: 0 18px 35px rgba(47, 80, 97, 0.45);
    color: #fff !important;
  }

  .btn-primary-soft:active {
    transform: translateY(0);
    box-shadow: 0 8px 18px rgba(47, 80, 97, 0.35);
  }

/* Animasyon */
.fade-in-up {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.7s ease forwards;
}

  .fade-in-up.delay-1 {
    animation-delay: 0.1s;
  }

  .fade-in-up.delay-2 {
    animation-delay: 0.2s;
  }

  .fade-in-up.delay-3 {
    animation-delay: 0.3s;
  }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================================
   LAYOUT CSS – NAVBAR, PROFIL, CONTENT
   =========================================== */

/* LOGO BLUR PANEL */
.logo-blur-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0px 14px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

  .logo-blur-box img {
    height: 82px;
    width: auto;
    border-radius: 10px;
  }

.logo-blur-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

/* NAVBAR */
.navbar-custom {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  box-shadow: 0 4px 18px rgba(0,0,0,0.25);
  padding: 6px 0;
}

.navbar-nav {
  margin-left: auto;
  margin-right: auto;
  gap: 8px;
}

.nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
}

  .nav-link:hover,
  .nav-link.active {
    background: rgba(255,255,255,0.18);
  }

/* PROFIL BAR */
.nav-profile-box {
  background: rgba(255,255,255,0.25);
  padding: 6px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(8px);
}

.nav-profile-avatar {
  background: rgba(255,255,255,0.38);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.logout-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.65);
  color: #fff;
  padding: 6px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: .2s ease;
}

  .logout-btn:hover {
    background: rgba(255,255,255,0.2);
  }

/* CONTENT WRAPPER */
.content-wrapper {
  flex: 1 0 auto;
  margin-top: 25px;
  padding-bottom: 30px;
}

/* FOOTER – NAVBAR RENKLİ ve ALTA YAPIŞIK */
footer {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 16px 0;
  text-align: center;
  width: 100%;
  margin-top: auto;
  font-size: 13px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.25);
}

/* ===========================================
   PROFIL SAYFASI TASARIMI
   =========================================== */

.profile-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  max-width: 900px;
  margin: auto;
  margin-top: 25px;
}

.profile-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.profile-subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 18px;
}

.profile-form .form-label {
  font-weight: 500;
  color: var(--secondary);
}

.profile-save-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  padding: 10px 20px;
}



.btn-style {
  width: 100% !important;
}

.btn-style {
  width: 100%;
  padding: 14px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #2d3748, #1a202c);
  color: #f1f5f9;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

  /* Parlayan efekt */
  .btn-style::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent );
    transition: left 0.35s ease;
  }

  /* Hover görünümü */
  .btn-style:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25), 0 0 15px rgba(100, 160, 255, 0.3);
  }

    .btn-style:hover::before {
      left: 100%;
    }

  /* Tıklama efekti */
  .btn-style:active {
    transform: translateY(0);
    box-shadow: none;
  }

/**** 25.11.2025 **/

#raporLoadingModal .modal-content {
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.9);
}
