/* EDAP Phase 27 - Klasik hesap/admin ekranlarını modern panel tasarımına eşitleme */
:root{
  --edap-red:#c20d19;
  --edap-red-2:#e11d2e;
  --edap-dark:#0f172a;
  --edap-muted:#64748b;
  --edap-border:#e5e7eb;
  --edap-soft:#f5f7fb;
  --edap-card:#ffffff;
  --edap-shadow:0 18px 55px rgba(15,23,42,.08);
  --edap-radius:22px;
}

.edap-account-page{
  background:linear-gradient(180deg,#f8fafc 0%,#eef2f7 100%) !important;
}

.edap-account-main{
  min-width:0;
}

/* Klasik sayfalarda eski jumbotron/boostrap görünümünü yeni panel kartına çevir */
.edap-account-main .account-content,
.edap-account-main > .container-fluid{
  padding:24px !important;
  max-width:100%;
}

.edap-account-main .jumbotron{
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  min-height:auto !important;
  margin:0 !important;
}

.edap-account-main .page-header,
.edap-account-main h2:first-child,
.edap-account-main h4:first-child{
  font-size:clamp(24px,2vw,34px) !important;
  line-height:1.08 !important;
  font-weight:900 !important;
  letter-spacing:-.035em !important;
  color:var(--edap-dark) !important;
  margin-bottom:8px !important;
}

.edap-account-main .page-header i,
.edap-account-main h2:first-child i,
.edap-account-main h4:first-child i{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#fff1f2;
  color:var(--edap-red) !important;
  margin-right:10px !important;
  box-shadow:inset 0 0 0 1px rgba(194,13,25,.08);
}

.edap-account-main hr{
  border:0 !important;
  height:1px !important;
  background:linear-gradient(90deg,rgba(194,13,25,.28),rgba(148,163,184,.18),transparent) !important;
  margin:18px 0 22px !important;
  opacity:1 !important;
}

/* Ortak kartlar */
.edap-account-main .card,
.edap-account-main .listings-contaner,
.edap-account-main .alert:not(.swal2-container .alert){
  border:1px solid rgba(148,163,184,.20) !important;
  border-radius:var(--edap-radius) !important;
  box-shadow:var(--edap-shadow) !important;
  overflow:hidden;
}

.edap-account-main .card .card-header,
.edap-account-main .listings-hdr{
  background:linear-gradient(135deg,#fff,#fff7f7) !important;
  border-bottom:1px solid rgba(148,163,184,.18) !important;
  padding:18px 22px !important;
}

.edap-account-main .card .card-body,
.edap-account-main .listings-bdy{
  padding:22px !important;
}

.edap-account-main .card .card-footer{
  background:#f8fafc !important;
  border-top:1px solid rgba(148,163,184,.18) !important;
  padding:16px 22px !important;
}

/* Formlar */
.edap-account-main .form-group{
  margin-bottom:18px !important;
}

.edap-account-main label,
.edap-account-main .form-label{
  font-size:13px !important;
  font-weight:800 !important;
  color:#334155 !important;
  letter-spacing:.01em;
  margin-bottom:8px !important;
}

.edap-account-main .form-control,
.edap-account-main .form-select,
.edap-account-main select,
.edap-account-main textarea,
.edap-account-main input[type="text"],
.edap-account-main input[type="email"],
.edap-account-main input[type="password"],
.edap-account-main input[type="number"],
.edap-account-main input[type="date"],
.edap-account-main input[type="file"]{
  border:1px solid #dbe3ef !important;
  border-radius:14px !important;
  min-height:46px;
  padding:10px 14px !important;
  box-shadow:none !important;
  background:#fff !important;
  color:#0f172a !important;
}

.edap-account-main textarea.form-control,
.edap-account-main textarea{
  min-height:110px;
}

.edap-account-main .form-control:focus,
.edap-account-main .form-select:focus,
.edap-account-main select:focus,
.edap-account-main textarea:focus,
.edap-account-main input:focus{
  border-color:var(--edap-red) !important;
  box-shadow:0 0 0 4px rgba(194,13,25,.10) !important;
  outline:none !important;
}

/* Butonlar */
.edap-account-main .btn,
.edap-account-main .primary-btn,
.edap-account-main button{
  border-radius:14px !important;
  font-weight:800 !important;
  min-height:40px;
}

.edap-account-main .btn-primary,
.edap-account-main .btn-danger,
.edap-account-main .btn-success,
.edap-account-main .primary-btn{
  background:linear-gradient(135deg,var(--edap-red),#ef233c) !important;
  border-color:transparent !important;
  color:#fff !important;
  box-shadow:0 12px 24px rgba(194,13,25,.18) !important;
}

.edap-account-main .btn-outline-primary,
.edap-account-main .btn-outline-danger,
.edap-account-main .btn-outline-secondary,
.edap-account-main .btn-secondary,
.edap-account-main .btn-dark{
  background:#fff !important;
  color:#111827 !important;
  border:1px solid #dbe3ef !important;
  box-shadow:0 8px 20px rgba(15,23,42,.05) !important;
}

.edap-account-main .btn-sm{
  min-height:34px;
  padding:6px 11px !important;
  border-radius:11px !important;
}

/* Tablolar */
.edap-account-main .table-responsive{
  border:1px solid rgba(148,163,184,.18);
  border-radius:18px;
  background:#fff;
  box-shadow:0 16px 48px rgba(15,23,42,.06);
  overflow:auto;
}

.edap-account-main table.table,
.edap-account-main table.dataTable{
  margin:0 !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  width:100% !important;
  background:#fff;
}

.edap-account-main .table thead th,
.edap-account-main table.dataTable thead th{
  background:#f8fafc !important;
  color:#334155 !important;
  font-size:12px !important;
  text-transform:uppercase;
  letter-spacing:.045em;
  font-weight:900 !important;
  border-bottom:1px solid #e5e7eb !important;
  padding:14px 16px !important;
  white-space:nowrap;
}

.edap-account-main .table tbody td,
.edap-account-main table.dataTable tbody td{
  padding:14px 16px !important;
  border-bottom:1px solid #eef2f7 !important;
  vertical-align:middle !important;
  color:#0f172a;
}

.edap-account-main .table-bordered,
.edap-account-main .table-bordered td,
.edap-account-main .table-bordered th{
  border-left:0 !important;
  border-right:0 !important;
}

.edap-account-main .table-striped tbody tr:nth-of-type(odd){
  background-color:#fcfdff !important;
}

.edap-account-main .table-hover tbody tr:hover{
  background:#fff7f7 !important;
}

/* Badge/alert uyumları */
.edap-account-main .badge{
  border-radius:999px !important;
  padding:.45rem .7rem !important;
  font-weight:800 !important;
}

.edap-account-main .alert{
  padding:16px 18px !important;
}

.edap-account-main .alert-info{
  background:#eff6ff !important;
  color:#1e3a8a !important;
}

.edap-account-main .alert-warning{
  background:#fff7ed !important;
  color:#9a3412 !important;
}

.edap-account-main .alert-danger{
  background:#fff1f2 !important;
  color:#991b1b !important;
}

.edap-account-main .alert-success{
  background:#ecfdf5 !important;
  color:#065f46 !important;
}

/* Profil sayfası */
.edap-account-main .profile-pic-holder{
  width:140px !important;
  height:140px !important;
  border-radius:32px !important;
  overflow:hidden;
  background:#f8fafc;
  display:grid;
  place-items:center;
  border:1px solid #e5e7eb;
}

.edap-account-main .profile-pic-holder img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:32px !important;
}

/* Klasik admin listelerinde iç içe belge kartları */
.edap-account-main td .card{
  border-radius:16px !important;
  box-shadow:0 8px 22px rgba(15,23,42,.05) !important;
}

/* DataTables kontrol alanlarını modernleştir */
.edap-account-main .dataTables_wrapper .dataTables_length,
.edap-account-main .dataTables_wrapper .dataTables_filter,
.edap-account-main .dataTables_wrapper .dataTables_info,
.edap-account-main .dataTables_wrapper .dataTables_paginate{
  padding:12px 4px;
  color:#64748b !important;
  font-size:13px;
  font-weight:700;
}

.edap-account-main .dataTables_wrapper .dataTables_filter input,
.edap-account-main .dataTables_wrapper .dataTables_length select{
  border:1px solid #dbe3ef !important;
  border-radius:12px !important;
  min-height:38px;
  margin-left:8px;
}

.edap-account-main .dataTables_wrapper .dataTables_paginate .paginate_button{
  border:1px solid #dbe3ef !important;
  border-radius:12px !important;
  background:#fff !important;
  color:#0f172a !important;
  padding:7px 12px !important;
  margin:0 3px !important;
}

.edap-account-main .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.edap-account-main .dataTables_wrapper .dataTables_paginate .paginate_button:hover{
  background:var(--edap-red) !important;
  color:#fff !important;
  border-color:var(--edap-red) !important;
}

/* Sidebar menü okunurluğu ve klasik bölümlerin taşmasını engelleme */
.edap-sidebar-grid .nav-link{
  user-select:none;
}

.edap-sidebar-grid .edap-sidebar-section-title{
  user-select:none;
}

.edap-account-sidebar,
.account-nav,
#account-sidebar{
  scrollbar-width:thin;
}

/* Mobil düzen */
@media (max-width: 991px){
  .edap-account-main .account-content,
  .edap-account-main > .container-fluid{
    padding:16px !important;
  }
  .edap-account-main .card .card-body,
  .edap-account-main .listings-bdy{
    padding:16px !important;
  }
  .edap-account-main .table-responsive{
    border-radius:16px;
  }
  .edap-account-main .page-header,
  .edap-account-main h2:first-child,
  .edap-account-main h4:first-child{
    font-size:24px !important;
  }
}

@media (max-width: 575px){
  .edap-account-main .d-flex.justify-content-between{
    align-items:flex-start !important;
  }
  .edap-account-main .btn{
    width:auto;
  }
  .edap-account-main .table thead th,
  .edap-account-main .table tbody td{
    padding:12px !important;
  }
}
