/* sutijums_div.css */

/* Lokāli tikai sūtījumu sarakstam */
#sutijumi_list,
#sutijumi_list * ,
#sutijumi_list *::before,
#sutijumi_list *::after {
  box-sizing: border-box;
}



/* Kartīte */
.sut-item {
  display: block;
  clear: both;

  box-sizing: border-box;

  width: 100%;
  max-width: 100%;

  /* svarīgi: lai nekas nepiespiež “plānu sloksni” */
  height: auto !important;
  max-height: none !important;

  border: 1px solid #777;
  border-radius: 14px;
  background: #fff;

   margin: 8px 0;
  padding: 10px 12px 10px 6px; /* top right bottom left */
}

/* Iekšējā rinda */
.sut-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  height: auto !important;
  max-height: none !important;
  min-height: 0;
}

/* Kreisā puse (burts aplī) */
.sut-left {
  flex: 0 0 44px;
  width: 44px;
  //padding-left: 0px;
}

/* Burta aplis */
.sut-abc {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;
  border-radius: 999px;

  font-weight: 800;
  font-size: 16px;

  /* neitrāls fons, ja nav definēts citur */
  background: #e9e9e9;
}

/* Labā puse ar tekstu */
.sut-right {
  flex: 1 1 auto;
  min-width: 0; /* kritiski, lai flex bērni wrapojas */
  width: auto;

  font-size: 15px;
  line-height: 1.25;

  height: auto !important;
  max-height: none !important;
}

/* Adrešu bloki */
.sut-block {
  display: block;
  width: 100%;

  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Meta rinda (ID + statuss) */
.sut-meta {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 8px;
}

/* ID – ļaujam lauzt, lai neizspiež ārā no kastes */
.sut-id {
  flex: 1 1 auto;
  min-width: 0;

  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;

  font-weight: 700;
}

/* Statuss – parasti īss, turam vienā rindā */
.sut-status {
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 700;
}


/* --- ABC aplīši (A/B/C...) --- */

/* neuzspiežam pelēko fonu visiem */
#sutijumi_list .sut-abc{
  background: transparent; /* pārraksta #e9e9e9 */
  color: #fff;
  box-shadow: 0 6px 10px rgba(0,0,0,.25);
}

/* katram burtam savs fons (pielāgo krāsas kā gribi) */
#sutijumi_list .sut-abc.ABCA { background: #e53935; } /* A - sarkans */
#sutijumi_list .sut-abc.ABCB { background: #3f51ff; } /* B - zils */
#sutijumi_list .sut-abc.ABCC { background: #9e9e9e; } /* C - pelēks */

/* ja ir vēl burti */
#sutijumi_list .sut-abc.ABCS { background: #111; }    /* piem. S */


.sut-date-divider {
  display: inline-block;
  margin: 16px auto 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #e6e6e6;
  font-weight: 700;
  font-size: 14px;
}


.iz-list {
    border: 1px solid #ccc;
    max-width: 320px;
    user-select: none;
}

.iz-item {
    padding: 6px 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.iz-item:hover {
    background: #f3f7ff;
}

.iz-item.active {
    background: #2b7cff;
    color: white;
    font-weight: bold;
}
