/* PAGE FULL WIDTH */
.dilekce-body{
  padding: 40px 0;
}

.dilekce-toolbar{
  position: sticky;
  top: 0;
  z-index: 999;

  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 0 auto 15px auto; /* ortala */
  align-items:center;

  background:#fff;
  padding:12px;
  border-radius:12px;
  border:1px solid #e6e6e6;
  box-shadow:0 10px 25px rgba(0,0,0,0.06);

  max-width: 1100px; /* toolbar genişliği */
  width: 100%;
}


/* Premium butonlar (iOS style) */
.btn-premium{
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.65));
  color: #1f2937;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 14px;
  padding: 8px 12px; /* küçültüldü */
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn-premium i{
  font-size: 16px;
}

/* Hover */
.btn-premium:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(0,0,0,0.22);
  background: linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,0.75));
}

/* Active */
.btn-premium:active{
  transform: translateY(0px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.16);
}

/* Focus */
.btn-premium:focus{
  outline: none;
  box-shadow: 0 14px 26px rgba(0,0,0,0.22), 0 0 0 4px rgba(255,255,255,0.45);
}

/* toolbar select */
.toolbar-select{
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background:#fff;
  font-size: 14px;
}

.toolbar-color{
  width: 36px;
  height: 36px;
  border: none;
  padding: 0;
}

/* Word sayfa görünümü + margin */
.editor-area{
  min-height: 900px;
  background:#fff;
  padding: 60px 60px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  font-family: "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.7;
  color:#222;
  outline:none;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid #e1e1e1;
}

/* Dilekçe içi stil */
.editor-area p {
  margin: 8px 0;
}

.editor-area .title {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
}

.editor-area .left {
  text-align: left;
}

.editor-area .right {
  text-align: right;
}

.editor-area .paragraph {
  text-align: justify;
}

.editor-area .bold {
  font-weight: 700;
}

.editor-area .line {
  display: inline-block;
  width: 320px;
  border-bottom: 1px solid #000;
  margin-left: 8px;
  padding-bottom: 2px;
}

.editor-area .spacer {
  height: 14px;
}

/* Premium badge gold */
.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8e67a, #f1c40f);
  color:#5a3c00;
  font-weight:700;
  box-shadow: 0 10px 20px rgba(241,196,15,0.25);
  border: 1px solid rgba(255,255,255,0.6);
  position: relative;
  overflow: hidden;
}

/* Parıltı animasyonu */
.badge::after{
  content:"";
  position:absolute;
  top:-50%;
  left:-50%;
  width: 120%;
  height: 200%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.9), transparent);
  transform: rotate(25deg);
  animation: shine 3s infinite;
}

@keyframes shine{
  0%{ transform: translateX(-100%) rotate(25deg); opacity:0; }
  50%{ opacity:1; }
  100%{ transform: translateX(100%) rotate(25deg); opacity:0; }
}
.dilekce-table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  margin-bottom: 10px;
}

.dilekce-table td{
  padding: 8px 10px;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

.dilekce-table td:first-child{
  width: 260px;
  font-weight: 600;
}

.dilekce-table td:last-child{
  width: calc(100% - 260px);
}
/* Paragraf */
.editor-area .paragraph {
  margin-bottom: 12px;
  text-align: justify;
}

/* Paragraf başı girinti */
.editor-area .indent {
  text-indent: 40px;
}

/* Tablo daha resmi */
.dilekce-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.dilekce-table td {
  padding: 8px 10px;
  border-bottom: 1px dashed #cfcfcf;
}

.dilekce-table td:first-child {
  width: 35%;
  font-weight: 600;
}

