/* =========================
   GENEL FONT & RENKLER
========================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --yesil: #28a745;
    --mavi: #1f4f8b;
    --acik-mavi: rgba(31, 79, 139, 0.08);
    --turuncu: #ff7a00;
    --acik-turuncu: rgba(255, 122, 0, 0.08);
    --lacivert-border: #0c2d57;
}

* {
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
}

/* =========================
   BUTONLAR
========================= */

.yesil-btn,
.mavi-btn,
.turuncu-btn {
    width: 70%;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border-radius: 25px;
    padding: 10px 15px;
    color: #ffffff;
    border: none;
    cursor: pointer;
}

.yesil-btn {
    background-color: var(--yesil);
}

.mavi-btn {
    background-color: var(--mavi);
}

.turuncu-btn {
    background-color: var(--turuncu);
}

/* =========================
   TOPBAR
========================= */

.topbar-ilk {
    border-top: 4px solid var(--lacivert-border);
    border-bottom: 4px solid var(--lacivert-border);
    text-align: center;
    color: var(--mavi);
    padding: 10px 0;
}

/* =========================
   MAVİ BOX
========================= */

.box-giris-mavi {
    background-color: var(--acik-mavi);
    text-align: center;
    padding: 30px;
}

.box-giris-mavi-baslik {
    color: var(--mavi);
    font-size: 35px;
    font-weight: 600;
}

.box-giris-mavi-altbaslik {
    color: var(--mavi);
    font-size: 15px;
    font-weight: 500;
}

.box-giris-mavi-content {
    display: flex;
    width: 100%;
}

.box-giris-mavi-content-sol {
    flex: 30%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-giris-mavi-content-sag {
    flex: 70%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* =========================
   INPUT & SELECT
========================= */

.inputlar,
.selectler {
    border-radius: 25px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    outline: none;
    transition: 0.3s;
}

.inputlar:focus,
.selectler:focus {
    border: 2px solid var(--mavi);
}

/* =========================
   TURUNCU BOX
========================= */

.box-giris-turuncu {
    background-color: var(--acik-turuncu);
    text-align: center;
    padding: 30px;
}

.box-giris-turuncu-baslik {
    color: var(--mavi);
    font-size: 35px;
    font-weight: 600;
}

.box-giris-turuncu-altbaslik {
    color: var(--mavi);
    font-size: 15px;
    font-weight: 500;
}

.box-giris-turuncu-content {
    display: flex;
    width: 100%;
}

.box-giris-turuncu-content-sol {
    flex: 70%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.box-giris-turuncu-content-sag {
    flex: 30%;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================
   ORTA BOX
========================= */

.box-giris-orta {
    text-align: center;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    color: var(--mavi);
    background: transparent;
}

/* Panelleri aynı satırda tutan ana flex */
.bn-panels{
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
}

/* Ortadaki "Ya da" kutusunun taşıyıcısı */
.bn-or-wrap{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* Ya da kutusu: küçük, ortada */
.box-giris-orta{
  width: 70px;          /* küçük kutu */
}

/* Mobilde alt alta düşür: Ya da araya girsin */
@media (max-width: 980px){
  .bn-panels{
    flex-direction: column;
    gap: 14px;
  }

  .bn-or-wrap{
    order: 2;            /* sol panelden sonra */
    margin: 4px 0;
  }

  .box-giris-orta{
    width: 140px;
  }
}

/* === FLASH MESSAGES === */

.flash-wrapper{
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flash{
  min-width: 280px;
  max-width: 380px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  animation: flashSlide .35s ease;
  position: relative;
  overflow: hidden;
}

.flash::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  height:4px;
  width:100%;
  background:rgba(0,0,0,0.08);
}

.flash.success{
  background: rgba(31,79,139,0.12);
  border:1px solid rgba(31,79,139,0.25);
  color:#1f4f8b;
}

.flash.error{
  background: rgba(176,0,32,0.08);
  border:1px solid rgba(176,0,32,0.25);
  color:#b00020;
}

.flash.warning{
  background: rgba(255,140,0,0.12);
  border:1px solid rgba(255,140,0,0.25);
  color:#ff8c00;
}

.flash.info{
  background: rgba(0,0,0,0.05);
  border:1px solid rgba(0,0,0,0.15);
  color:#333;
}

.flash-close{
  position:absolute;
  right:10px;
  top:8px;
  cursor:pointer;
  font-weight:700;
  opacity:.6;
}

.flash-close:hover{
  opacity:1;
}

.ck-sub{
  display: flex;
  align-items: center;
  gap: 10px;
}

.ck-sub-ico{
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .9;
}

.ck-sub-ico .ck-ico{
  width: 18px;
  height: 18px;
}

@keyframes flashSlide{
  from{
    opacity:0;
    transform: translateX(40px);
  }
  to{
    opacity:1;
    transform: translateX(0);
  }
}

.field-title{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  margin: 14px 0 6px;
  color:#1f4f8b;
  font-weight:600;
}
.field-title small{
  font-weight:400;
  font-size:12px;
  opacity:.9;
}