body {
    padding: 0px 0px 0px 0px;
  }
  .brand-image {
    height: 128px;
    margin-top: -60px;
    margin-left: 300px;
  }
  .nobreak {
    white-space: nowrap;
  }
  input[readonly] {
    background-color: lightgray;
  }
  input[type="file" i] {
    background-color: rgb(160, 33, 33);
  }
  .table_button {
    width: 20px;
    height: 20px;
    margin: 0px;
    padding: 0px;
    border: none;
    background: TRANSPARENT;
}
input[data-type="currency"] {
  text-align: right;
}
input[data-type="currency"]:focus:read-write {
  background-color: lightblue;
  text-align: left;
}
input[data-type="integer"] {
  text-align: right;
}
input[data-type="integer"]:focus:read-write {
  background-color: lightblue;
  text-align: left;
}
.btn {
  --bs-btn-padding-x: 1rem;
  --bs-btn-padding-y: 0.5rem;
}
.sbtn {
  --bs-btn-padding-x: 5px;
  --bs-btn-padding-y: 1px;
}

.cellars-container {
    padding: 20px;
    background: #f8f9fa;
  }

  .entrance-section {
    margin-bottom: 40px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .entrance-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    border-radius: 6px;
    margin-bottom: 20px;
  }

  .svg-container {
    width: 100%;
    overflow-x: auto;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
  }

  .svg-container svg {
    max-width: 100%;
    height: auto;
    cursor: pointer;
  }

  /* Highlight selected cellar */
  .svg-container .box:hover {
    fill: #ffd700 !important;
    opacity: 0.8;
  }

  .svg-container .room:hover {
    fill: #e0e0e0 !important;
    opacity: 0.8;
  }




.footer {
  height: 30px;
}

.header {
  height: 80px;
}

.main{
  padding-top: 80px;
  padding-bottom: 30px;
}

.btn-toggle-nav a {
  display: inline-flex;
  padding: .1875rem .5rem;
  margin-top: .125rem;
  margin-left: 1.25rem;
  text-decoration: none;
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
  background-color: #d2f4ea;
}

.unused{
  color: red !important;
}

.btn_tbl {
  padding-bottom: 0px;
  padding-top: 0px;
  border-bottom-width: 0px;
}


.accordion {
  --bs-accordion-btn-padding-x: 0.5rem;
  --bs-accordion-btn-padding-y: 0.5rem;
}

#votingTable th {
    text-align: center;
    vertical-align: middle;
    font-size: 0.9em;
}

#votingTable .vote-input {
    text-align: center;
    font-weight: bold;
    font-size: 0.95em;
}

#votingTable input[readonly] {
    background-color: #e9ecef;
    font-style: italic;
}

#votingTable .input-pro-votes {
    border-left: 3px solid #28a745;
}

#votingTable .input-contra-votes {
    border-left: 3px solid #dc3545;
}

#votingTable .input-abstain-votes {
    border-left: 3px solid #ffc107;
}

#votingTable tfoot td {
    font-size: 1em;
    text-align: center;
}

/* Tab styling */
.nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link {
    color: #495057;
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: #0d6efd;
    background-color: #f8f9fa;
}

.nav-tabs .nav-link.active {
    color: #0d6efd;
    font-weight: 600;
    border-bottom-color: #0d6efd;
    background-color: transparent;
}

.nav-tabs .nav-link i {
    font-size: 1.1em;
}

/* Tab content */
.tab-content {
    padding-top: 20px;
}

.tab-pane .card {
    border: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Responsive tabs */
@media (max-width: 768px) {
    .nav-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-tabs .nav-item {
        flex-shrink: 0;
    }
    
    .nav-tabs .nav-link {
        white-space: nowrap;
        font-size: 0.9em;
        padding: 0.5rem 0.75rem;
    }
}
/* Quorum info table styling */
#quorum_info table {
    font-size: 0.95rem;
}

#quorum_info table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    vertical-align: middle;
}

#quorum_info table tbody td {
    vertical-align: middle;
}

#quorum_info table tfoot {
    background-color: #e9ecef;
    font-weight: bold;
}

#quorum_info .table-responsive {
    margin-bottom: 0;
}

/* Responsive adjustments for quorum table */
@media (max-width: 768px) {
    #quorum_info table {
        font-size: 0.85rem;
    }
    
    #quorum_info table th,
    #quorum_info table td {
        padding: 0.5rem 0.25rem;
    }
}

/* Voting modal meeting type indicators */
#votingModalLabel .badge {
    font-size: 0.75rem;
    vertical-align: middle;
}

#votingModalLabel .small {
    font-size: 0.85rem;
    line-height: 1.2;
}

/* Meeting type specific colors in result */
.alert-success[data-meeting-type="substitute"] {
    background-color: #ffc107;
    border-color: #ffb300;
    color: #000;
}

.alert-success[data-meeting-type="per_rollam"] {
    background-color: #0dcaf0;
    border-color: #0aa2c0;
}

/* Visual separator in voting table */
.voting-table-header {
    background: linear-gradient(to right, #f8f9fa 0%, #e9ecef 100%);
    font-weight: bold;
    border-top: 2px solid #dee2e6;
}
