/* =========================
   WRAP GLOBAL
========================= */
.amz-front-wrap{
  display:flex;
  align-items:flex-start;
  gap:24px;
  max-width:1200px;
  margin:30px auto 50px;
  width:100%;
  box-sizing:border-box;
}

/* =========================
   SIDEBAR
========================= */
.amz-front-sidebar{
  width:280px;
  min-width:280px;
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:16px;
  box-shadow:0 8px 24px rgba(15, 41, 84, 0.08);
  box-sizing:border-box;
}

.amz-front-sidebar-title{
  font-size:17px;
  font-weight:700;
  color:#0F2954;
  margin-bottom:14px;
  padding-bottom:10px;
  border-bottom:1px solid #e5e7eb;
}

.amz-front-lists{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.amz-front-list-item{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#0F2954;
  background:#f9fafb;
  border:1px solid transparent;
  border-radius:12px;
  padding:11px 12px;
  transition:all .18s ease;
  box-sizing:border-box;
}

.amz-front-list-item:hover{
  background:#f3f4f6;
  border-color:#d1d5db;
  transform:translateY(-1px);
}

.amz-front-list-item.is-active{
  background:#eef8f1;
  border-color:#0b6b2f;
}

.amz-front-color{
  width:10px;
  height:10px;
  min-width:10px;
  border-radius:50%;
  display:inline-block;
}

.amz-front-list-item .dashicons{
  font-size:18px;
  width:18px;
  height:18px;
  line-height:18px;
  color:#0F2954;
}

.amz-front-title{
  font-size:14px;
  font-weight:600;
  line-height:1.3;
  word-break:break-word;
}

/* =========================
   CONTENT
========================= */
.amz-front-content{
  flex:1;
  min-width:0;
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:20px;
  box-shadow:0 8px 24px rgba(15, 41, 84, 0.08);
  box-sizing:border-box;
}

.amz-front-header{
  margin-bottom:18px;
  padding-bottom:12px;
  border-bottom:1px solid #e5e7eb;
}

.amz-front-header h3{
  margin:0;
  font-size:24px;
  font-weight:700;
  color:#0F2954;
  display:flex;
  align-items:center;
  gap:10px;
  line-height:1.3;
}

.amz-front-header .dashicons{
  font-size:22px;
  width:22px;
  height:22px;
  line-height:22px;
  color:#0b6b2f;
}

/* =========================
   TABLE WRAP
========================= */
.amz-front-table-wrap{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

/* =========================
   TABLE
========================= */
.amz-front-table{
  width:100%;
  min-width:520px;
  border-collapse:separate;
  border-spacing:0;
  font-size:14px;
  color:#111827;
  background:#fff;
}

.amz-front-table thead th{
  text-align:left;
  background:#f3f4f6;
  color:#0b6b2f;
  font-weight:700;
  padding:13px 14px;
  border-top:1px solid #e5e7eb;
  border-bottom:1px solid #e5e7eb;
}

.amz-front-table thead th:first-child{
  border-left:1px solid #e5e7eb;
  border-top-left-radius:10px;
}

.amz-front-table thead th:last-child{
  border-right:1px solid #e5e7eb;
  border-top-right-radius:10px;
}

.amz-front-table tbody td{
  padding:13px 14px;
  border-bottom:1px solid #e5e7eb;
  border-left:1px solid #f1f5f9;
  border-right:1px solid #f1f5f9;
  vertical-align:middle;
  background:#fff;
}

.amz-front-table tbody tr:hover td{
  background:#fafdfb;
}

.amz-front-table tbody tr:last-child td:first-child{
  border-bottom-left-radius:10px;
}

.amz-front-table tbody tr:last-child td:last-child{
  border-bottom-right-radius:10px;
}

/* =========================
   EMPTY / ERROR
========================= */
.amz-front-empty,
.amz-front-error{
  max-width:900px;
  margin:30px auto;
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:26px 20px;
  text-align:center;
  color:#374151;
  box-shadow:0 8px 24px rgba(15, 41, 84, 0.08);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px){
  .amz-front-wrap{
    flex-direction:column;
    gap:16px;
    margin:20px auto 35px;
  }

  .amz-front-sidebar{
    width:100%;
    min-width:0;
  }

  .amz-front-content{
    width:100%;
  }

  .amz-front-header h3{
    font-size:20px;
  }
}

@media (max-width: 640px){
  .amz-front-wrap{
    padding:0 10px;
  }

  .amz-front-sidebar,
  .amz-front-content{
    padding:14px;
    border-radius:12px;
  }

  .amz-front-sidebar-title{
    font-size:16px;
  }

  .amz-front-list-item{
    padding:10px 11px;
  }

  .amz-front-title{
    font-size:13px;
  }

  .amz-front-header h3{
    font-size:18px;
  }

  .amz-front-table{
    font-size:13px;
    min-width:460px;
  }

  .amz-front-table thead th,
  .amz-front-table tbody td{
    padding:11px 12px;
  }
}
.amz-btn-add-row-front{
  margin-top:10px;
  background:#0b6b2f;
  color:#fff;
  border:none;
  padding:10px 14px;
  border-radius:8px;
  cursor:pointer;
  font-weight:600;
}

.amz-btn-add-row-front:hover{
  background:#095626;
}