/* =============================
   Layout Principal ADD PRICE
   ============================= */
.hallTitleCell {
    padding: 6px 8px;
}

.price-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.hall-subtitle {
    font-size: 11px;
    color: #888;
    margin-top: 2px;
}

#priceCategoryTitleInput{margin:20px 0; width:100%;}
#hallsTable tr { cursor:pointer; }
.editPriceBtn { cursor:pointer; }

#row-creator { display: flex; justify-content: space-between;}
#hallSelect {width: 200px;}

#price-editor {
    display: block;
    min-height: 200px;
    border: 1px solid #ccc;
    padding: 10px;
}

.priceRow {}
.priceRow.active-price {
    background:#e7f1ff;
    border-left:4px solid #0d6efd;
    padding-left:6px;
}

#price-editor {
    max-height: 100%;
    overflow-y: auto;
}

#price-editor .btn-save-prices {
    padding: 6px 14px;
    background: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#price-editor .btn-save-prices:hover {
    background: #0b5ed7;
}

#new-price-btn {display:flex; margin-top:10px;}


.price-row {
    display: flex;
    gap: 8px;
    padding: 6px;
    border-radius: 4px;
    cursor: pointer;
}

.price-row.active {
    background: #e6f0ff;
    outline: 2px solid #3b82f6;
}





/* =======================
   Layout Principal ADD HALL
   ======================= */
#add-hall-body {
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Leftbar */
#leftBar {height:100vh;
    width: 360px;
    background: #f3f3f3;
    border: 1px solid #ddd;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

/* Tabel săli */
#hallsTable {
    border-collapse: collapse;
    width: 100%;
    margin: 30px 0;
}
#preview-hall {padding: 0 10%;}
#hallsTable th, #hallsTable td {
    border: 1px solid #ccc;
    padding: 6px 8px;
    text-align: left;
}

#hallsTable tr.highlight-row {
    background-color: rgba(0,150,255,0.1);
}

#seat-inspector {display: flex; flex-wrap: wrap; justify-content: space-between; padding-top:20px;} 
#seat-inspector label {padding-top:10px;}
#inspector-row {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    width: 30%;
}
#inspector-row input {width:100%;}
#inspector-row {display: flex; flex-direction: column; flex-wrap: wrap;}
#note-row {display: flex; flex-direction: column; flex-wrap: wrap;}

#addZoneBtn, #saveHallBtn, #addHallBtn  {line-height:1; width: 100%; height: 26px; border: 1px solid #ccc; background:#6f9cb8;}
#addZoneBtn:hover, #saveHallBtn:hover, #addHallBtn:hover {line-height:1; width: 100%;  background: #83af83;}

#uploadSvgBtn, #svgFileLabel {font-size:15px; cursor:pointer; line-height:1; padding:3px 16px;height: 26px; text-align: center;}
#closeAddHallBtn, .deleteHallBtn {color:#b00; font-size:15px; cursor:pointer;}
#upload-hall-inner {display: flex; align-items: flex-end;  justify-content: space-between; flex-direction: row; flex-wrap: wrap;} 
#upload-hall {margin-top:20px;}
.custom-file-label {  cursor: pointer; background-color: #eee; border: 1px solid #ccc;}
.upload-row {display: flex; width: 100%; justify-content: space-between;}

.zoneRow.active-zone {    background: #e6f0ff;    border-left: 4px solid #337ab7;}

#param-row {display: flex; width: 100%; justify-content: space-between;}
.param {width:45%;}
#radiusText, #fontSizeText {width:50%;}

.cameras {height:5px; width:5px;}

#hall_title {width:100%; height: 26px; margin:10px 0;}

/* Rightbar */
#rightBar {
    position: fixed;
    top: 80px;
    right: 20px;
    width: calc(100% - 400px); /* 360px leftbar + 20px gap + 20px padding */
    height: calc(100vh - 40px);
    padding: 10px;
    box-sizing: border-box;
    overflow: auto;
}



button {
    cursor: pointer;
}

/* Editor într-o singură coloană */
#hallEditorDiv {
    margin-top: 15px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

#hallEditTable {
    width: 100%;
    border-collapse: collapse;
}

#hallEditTable td {
    padding: 8px;
    border: 1px solid #ddd;
    vertical-align: top;
}

/* Zone */
.zoneRow {
    display: flex;
    gap: 8px;
    padding: 4px;
    align-items: center;
}

.zoneRow:hover {
    background: #f0f0f0;
}

/* SVG Sala */
#svgWrap {
    width: 100%;
    height: 100%;
}

#svgWrap svg {
    width: 100%;
    height: auto;
    display: block;
}
  

#hallsTable {border-collapse:collapse; width:100%; border:0px;}

#upload-hall {display: flex;   justify-content: space-between; background:#0096FF;padding:30px;align-items: center; font-size:18px;}



input:focus,select:focus,textarea:focus { outline: none; border: 1px solid #ccc; box-shadow: 0 2px 6px rgba(74,144,226,.3);}

th,td{border:1px solid #ddd;padding:8px;text-align:left;}
.zoneRow{display:flex;align-items:center;gap:8px;padding:4px;cursor:pointer;}
.zoneRow:hover{background:#f9f9f9;}
.zoneName{border-bottom:1px dotted #aaa;padding:2px;}
input[readonly]{border:none;background:transparent;color:black;padding:0;font-size:14px;}
.colorSpan{display:inline-block;width:40px;height:25px;border:1px solid #ccc;vertical-align:middle;}
.priceValueInput{width: 50px;}
#svgWrap svg{max-width:100%;height:auto;display:block;}
.highlight-row{background:rgba(0,150,255,0.1);}
button.edit-btn{padding:6px 10px;}
svg text { user-select: none;   /* Textul nu poate fi selectat */
    -webkit-user-select: none;  -moz-user-select: none; -ms-user-select: none; 
    pointer-events: none;      /* Dacă vrei să nu fie clicabil deloc */}
#fileName {  font-style: italic;}
.zoneRow.highlighted,.priceRow.highlighted {  outline: 2px solid #0096FF;  border-radius: 4px;  background-color: rgba(0,150,255,0.1);}
