/* customer_style.css */
button[type="submit"],
button[type="button"] {
    width: 100%;
    padding: 12px;
    background-color: #e84d4f;
    border: none;
    color: #fff;
    border-radius: 4px;
    margin-top: 10px;
    cursor: pointer;
}

button[type="submit"]:hover,
button[type="button"]:hover {
    background-color: #d43c3e;
}
/* Buton Tasarımı */
.logout-btn, .form-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #e84d4f;
  color: #fff;
  font-size: 18px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

.logout-btn i, .form-btn i {
  margin-right: 8px; /* İkon ile yazı arası boşluk */
}

.logout-btn:hover, .form-btn:hover {
  background-color: #d43c3e;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}
/* Genel Ayarlar */
body {
  background: linear-gradient(to right, #e84d4f, #d43c3e);
  font-family: 'Open Sans', sans-serif;
  color: #333;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.br-form-container {
    width: 50%;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.br-form-title {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

.br-form-label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: bold;
}

.br-form-input, 
.br-form-select, 
.br-form-textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #f9f9f9;
}

.br-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.br-form-submit {
    width: 100%;
    padding: 15px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.br-form-submit:hover {
    background-color: #218838;
}

.br-form-error-messages {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin-bottom: 20px;
}

.br-form-success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    margin-bottom: 20px;
}

.br-form-error-messages p,
.br-form-success-message p {
    margin: 0;
}

/* Login Container */
.login-container {
  max-width: 400px;
  margin: 80px auto;
  padding: 40px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Marka Logosu */
.brand-logo img {
  width: 150px;
  margin-bottom: 20px;
}

/* Başlık */
.login-container h2 {
  margin-bottom: 30px;
  color: #333;
}

/* Form Grupları */
.form-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-size: 11px;
  padding: 20px;
}

.form-group input, .form-group select {
  width: 94%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

/* Buton */
.login-container button {
  width: 105%;
  padding: 12px;
  background-color: #e84d4f;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.login-container button:hover {
  background-color: #d43c3e;
}

/* Fotoğraf Ekle butonuna özel renk (isteğe bağlı) */
.photo-btn {
    background-color: #28a745;
}

.photo-btn:hover {
    background-color: #1e7e34;
}


/* Panel Tasarımı */
/* Panel Tasarımı */
.panel-container {
  max-width: 500px;
  margin: 50px auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.panel-container h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}

/* Profil Fotoğrafı Stili */
.profile-photo {
    width: 143px;
    height: 159px;
    border-radius: 3%;
    object-fit: cover;
    margin-bottom: -89px;
    border: 2px solid #007BFF; /* İsteğe bağlı: Fotoğraf etrafına bir çerçeve ekleyebilirsiniz */
}
/* Çıkış Butonu */
.panel-container a {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #e84d4f;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.panel-container a:hover {
  background-color: #d43c3e;
}

/* Sayfa göstergesi */
.page-indicator {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 16px;
  color: white;
  background-color: #e84d4f;
  padding: 5px 10px;
  border-radius: 4px;
}

/* Mobil Uyumlu Tasarım */

/* Küçük cihazlar (telefonlar) için */
@media (max-width: 576px) {

.profile-photo {
    width: 101px;
    height: 114px;
    border-radius: 3%;
    object-fit: cover;
    margin-bottom: -11px;
    border: 2px solid #007BFF; /* İsteğe bağlı: Fotoğraf etrafına bir çerçeve ekleyebilirsiniz */
}
.page-indicator {
    font-size: 15px; /* Tablet için biraz daha küçük yazı */
    right: 15px;
    padding: 4px 8px;
  }
  .login-container, .panel-container {
      margin: 20px;
      padding: 20px;
  }

  .brand-logo img {
      width: 120px;
  }

  .login-container h2 {
      font-size: 24px;
  }

  .login-container button {
      font-size: 14px;
  }
}

/* Orta cihazlar (tabletler) için */
@media (min-width: 577px) and (max-width: 768px) {

.profile-photo {
    width: 101px;
    height: 114px;
    border-radius: 3%;
    object-fit: cover;
    margin-bottom: -11px;
    border: 2px solid #007BFF; /* İsteğe bağlı: Fotoğraf etrafına bir çerçeve ekleyebilirsiniz */
}

.page-indicator {
    font-size: 15px; /* Tablet için biraz daha küçük yazı */
    right: 15px;
    padding: 4px 8px;
  }
  .login-container, .panel-container {
      margin: 40px auto;
      padding: 30px;
  }

  .brand-logo img {
      width: 130px;
  }

  .login-container h2 {
      font-size: 28px;
  }
}

/* Büyük cihazlar (masaüstü) için */
@media (min-width: 769px) {
/* Profil Fotoğrafı Stili */
.profile-photo {
    width: 176px;
    height: 221px;
    border-radius: 3%;
    object-fit: cover;
    margin-bottom: -11px;
    border: 2px solid #007BFF; /* İsteğe bağlı: Fotoğraf etrafına bir çerçeve ekleyebilirsiniz */
}
.page-indicator {
    font-size: 15px; /* Tablet için biraz daha küçük yazı */
    right: 15px;
    padding: 4px 8px;
  }
  .login-container, .panel-container {
      margin: 80px auto;
      padding: 40px;
  }

  .brand-logo img {
      width: 150px;
  }

  .login-container h2 {
      font-size: 32px;
  }
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
.profile-photo {
    width: 131px;
    height: 170px;
    border-radius: 3%;
    object-fit: cover;
    margin-bottom: -11px;
    border: 2px solid #007BFF; /* İsteğe bağlı: Fotoğraf etrafına bir çerçeve ekleyebilirsiniz */
}
.page-indicator {
    font-size: 15px; /* Tablet için biraz daha küçük yazı */
    right: 15px;
    padding: 4px 8px;
  }
  .form-container {
    padding: 10px;
    margin: 10px;
  }

  button {
    font-size: 16px;
  }
}
.form-completed {
    color: green;
    font-weight: bold;
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.form-completed i {
    margin-right: 5px;
}

.view-form-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.view-form-btn:hover {
    background-color: #0056b3;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.error-messages {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* ------------------------------------------------------------------
   Customer Panel (abdvizehizmetleri.com ile uyumlu modern görünüm)
   - Sadece customer_panel.php'te kullanılan sınıfları hedefler.
   - Var olan login / form stillerine minimum müdahale eder.
------------------------------------------------------------------ */

:root{
  --brand:#e84d4f;
  --brand2:#d43c3e;
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --border:rgba(17,24,39,.10);
  --shadow:0 14px 40px rgba(17,24,39,.12);
  --radius:18px;
}

body{
  margin:0;
  padding:0;
  font-family:'Open Sans', Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

.customer-shell{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:
    radial-gradient(900px 320px at 20% 0%, rgba(232,77,79,.18), transparent 60%),
    radial-gradient(800px 280px at 80% 10%, rgba(212,60,62,.14), transparent 55%),
    var(--bg);
}

.panel-container.panel-card{
  width:100%;
  max-width:840px;
  padding:0;
  overflow:hidden;
  border-radius:var(--radius);
  background:var(--card);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  text-align:left;
}

.panel-cover{
  padding:18px 20px 68px;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff;
}

.panel-brand{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.panel-brand-left{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand-mark{
  width:38px;
  height:38px;
  border-radius:12px;
  background:rgba(255,255,255,.18);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.25);
}

.brand-text{
  line-height:1.1;
}

.brand-title{
  font-weight:800;
  font-size:15px;
  letter-spacing:.2px;
}

.brand-subtitle{
  font-size:12px;
  opacity:.88;
  margin-top:2px;
}

.panel-user-pill{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:12px;
  font-weight:700;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);
  white-space:nowrap;
}

.panel-body{
  padding:0 22px 22px;
}

.panel-profile{
  display:flex;
  align-items:flex-end;
  gap:16px;
  margin-top:-28px;
}

.avatar{
  width:92px;
  height:92px;
  border-radius:999px;
  overflow:hidden;
  border:4px solid #fff;
  box-shadow:0 10px 24px rgba(17,24,39,.18);
  background:linear-gradient(135deg,#f9fafb,#e5e7eb);
  flex:0 0 auto;
}

.profile-photo{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:999px;
  border:none;
  margin:0;
}

.avatar-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#f9fafb,#e5e7eb);
  color:#9ca3af;
  font-size:34px;
}

.profile-meta{
  padding-bottom:6px;
}

.profile-kicker{
  font-size:12px;
  color:var(--muted);
  font-weight:700;
}

.profile-name{
  font-size:22px;
  font-weight:900;
  margin-top:4px;
  letter-spacing:-.2px;
}

.status-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  margin-top:10px;
  border:1px solid var(--border);
  background:#f8fafc;
  color:var(--text);
}

.status-chip.success{
  background:rgba(34,197,94,.12);
  border-color:rgba(34,197,94,.25);
  color:#065f46;
}

.status-chip.warn{
  background:rgba(245,158,11,.12);
  border-color:rgba(245,158,11,.25);
  color:#92400e;
}

.panel-actions{
  margin-top:18px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.action-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  transition:transform .12s ease, box-shadow .12s ease, background-color .12s ease, border-color .12s ease;
}

.action-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 22px rgba(17,24,39,.10);
}

.action-btn:active{
  transform:translateY(0);
  box-shadow:none;
}

.action-btn.primary{
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  border-color:transparent;
  color:#fff;
}

.action-btn.primary:hover{
  box-shadow:0 14px 28px rgba(232,77,79,.25);
}

.action-btn.success{
  background:#16a34a;
  border-color:transparent;
  color:#fff;
}

.action-btn.info{
  background:#2563eb;
  border-color:transparent;
  color:#fff;
}

.action-btn.danger{
  color:#b91c1c;
  border-color:rgba(185,28,28,.25);
  background:rgba(185,28,28,.06);
}

.action-btn.danger:hover{
  box-shadow:0 10px 22px rgba(185,28,28,.12);
}

.action-btn.admin{
  background:rgba(17,24,39,.06);
  border-color:rgba(17,24,39,.14);
  color:#111827;
}

.panel-footer{
  margin-top:14px;
  border-top:1px solid rgba(17,24,39,.08);
  padding-top:14px;
}

.panel-hint{
  font-size:12px;
  color:var(--muted);
  line-height:1.55;
}

@media (max-width: 640px){
  .panel-actions{ grid-template-columns:1fr; }
  .panel-profile{ align-items:center; margin-top:-20px; }
  .panel-cover{ padding-bottom:58px; }
  .profile-name{ font-size:20px; }
}

/* ------------------------------------------------------------------
   ABDVizeHizmetleri Footer entegrasyonu (customer pages)
   - index.php'teki #footer ile uyumlu.
   - Customer sayfalarında footer'ı altta tutmak için layout helper.
------------------------------------------------------------------ */

body.customer-page{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

.customer-main{
  flex:1 0 auto;
}

/* customer_panel.php içindeki shell zaten merkezli; footer eklendiğinde 100vh çakışmasın */
.customer-main .customer-shell{
  min-height:auto;
  padding-bottom:24px;
}

/* Footer linkleri müşteri CSS'i tarafından bozulmasın */
#footer a{
  text-decoration:none;
}
/* ------------------------------------------------------------------
   Orders UI (create_order.php / customer_orders.php)
------------------------------------------------------------------ */

.panel-section-head{
  margin-top:16px;
}

.panel-section-title{
  font-weight:900;
  font-size:18px;
  letter-spacing:-.2px;
  color:var(--text);
}

.panel-section-desc{
  margin-top:4px;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}

.orders-list{
  display:grid;
  gap:12px;
}

.order-card{
  border:1px solid var(--border);
  background:#fff;
  border-radius:16px;
  padding:14px;
  box-shadow:0 10px 22px rgba(17,24,39,.06);
}

.order-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.order-title{
  font-weight:900;
  font-size:15px;
  line-height:1.2;
}

.order-subtitle{
  margin-top:3px;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}

.order-status{
  flex:0 0 auto;
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  border:1px solid var(--border);
  background:#f8fafc;
  color:var(--text);
  white-space:nowrap;
}

.order-status.cart{
  background:rgba(37,99,235,.10);
  border-color:rgba(37,99,235,.22);
  color:#1e40af;
}

.order-status.pending{
  background:rgba(245,158,11,.12);
  border-color:rgba(245,158,11,.25);
  color:#92400e;
}

.order-status.approved{
  background:rgba(34,197,94,.12);
  border-color:rgba(34,197,94,.25);
  color:#065f46;
}

.order-status.cancelled{
  background:rgba(185,28,28,.10);
  border-color:rgba(185,28,28,.22);
  color:#7f1d1d;
}

.order-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  margin-top:10px;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}

.order-details{
  margin-top:10px;
  border-top:1px dashed rgba(17,24,39,.12);
  padding-top:10px;
}

.order-details summary{
  cursor:pointer;
  font-weight:900;
  color:#111827;
  list-style:none;
}

.order-details summary::-webkit-details-marker{ display:none; }

.order-details-body{
  margin-top:10px;
}

.order-feat-title{
  font-weight:900;
  font-size:12px;
  color:#111827;
  margin:10px 0 6px;
}

.order-feat-list{
  margin:0 0 6px;
  padding:0;
  list-style:none;
}

.order-feat-list li{
  display:flex;
  gap:8px;
  align-items:flex-start;
  font-size:12px;
  color:#374151;
  margin:6px 0;
}

.order-actions{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.order-action-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:12px;
  text-decoration:none;
  font-weight:900;
  font-size:12px;
  border:1px solid var(--border);
  background:#fff;
  color:#111827;
}

.order-action-btn.danger{
  background:rgba(185,28,28,.06);
  border-color:rgba(185,28,28,.20);
  color:#b91c1c;
}

/* Pricing CTA button (create_order.php) */
.pricing-card form{ margin-top:14px; }

button.pricing-cta-btn{
  width:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border:none;
  border-radius:14px;
  background:linear-gradient(135deg, var(--brand), var(--brand2));
  color:#fff;
  font-weight:900;
  cursor:pointer;
}

button.pricing-cta-btn:hover{
  filter:brightness(.98);
  box-shadow:0 14px 28px rgba(232,77,79,.22);
}