/* Vote Blade*/
.button-vote{
  margin: 15px;
  padding: 10px;
}
.button-vote button{
    background-color: #94b43b;
    color: white;
    width: 50%;
    font-size: 20px;
    font-weight: bold;
}
.tittle-team{
  text-align: center;
  font-size: 20px;
  font-style: italic;
  font-weight: bold;

}
ul.square {
   list-style-type: square;
}

#bs-navbar .btn-group.show {
    display: inline-flex!important;
}
.dropdown-toggle::after {
  color:#94b43b;
}
.tittle{
  font-size: 20px;
  font-weight: bold;
}
.team-style{
  background-color: white;
  border: 2px solid #e9ecef;
  padding: 10px;
  margin:2px;
  position: relative;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.team-style i,
.team-style .material-symbols-filled{
  color:#8080809e;
  font-size: 2rem;
  transition: all 0.3s ease;
}
.gray-icon{
  color:#8080809e !important;
}

.team-style:hover {
  border-color: #677d29;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.team-style-on{
  background-color: white;
  border: 2px solid #677d29;
  padding: 10px;
  margin:2px;
  position: relative;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}
.team-style-on i,
.team-style-on .material-symbols-filled{
  color: #677d29;
  font-size: 2rem;
  transform: scale(1.1);
}

/* Remove any unwanted borders or rectangles */
.material-symbols-filled {
  border: none !important;
  outline: none !important;
  background: none !important;
  box-shadow: none !important;
}
.team p{
  text-align: center;
  font-size: 18px;

}
/* icons boostrap */
.input-group-addon, .input-group-btn {
    width: 9% !important;
}


.x-class{
  position: absolute;
  z-index: 10;
  height: 100%;
  width: 100%;
}
.img-candidato{
  float: none;
  display: block;
  margin: 0 auto;
}

.col-centered{
    float: none;
    display: block;
    margin: 0 auto;
}

.text-xs-center {
        text-align: center;
    }

.g-recaptcha {
        display: inline-block;
 }
.form-group {
    display: flex;
    align-items: center;
}
.panel-color{

    background-color: rgba(255, 246, 221, 0.38);
    border-radius: 8px;
    margin: 10px;
    padding: 30px;
}
.panel-color a:hover{
  text-decoration: none;
}
.tittle-panel{
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: black;
}
.button-max{
  padding: 15px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 25px;
  color: white;
  background-color: rgba(187, 113, 35, 0.8);
  display: block;
  width: 100%;
  text-align: center;
  border-radius:10px;
  cursor:pointer;
}
.button-max:hover{
  color: white;
  background-color:rgba(187, 113, 35, 0.5);
  text-decoration: none;
}

.button-max2{
  padding: 15px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 25px;
  color: white;
  background-color: #576a20;
  display: block;
  width: 100%;
  text-align: center;
  border-radius:10px;
  cursor:pointer;
}

.button-max2:hover{
  color: white;
  background-color: #576a209c;
  text-decoration: none;
}

/*----------------------------------    ADMIN    ----------------------------------------*/
.button-admin{
  padding: 15px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 20px;
  color: white;
  background-color: rgba(147, 13, 35, 0.8);
  display: block;
  width: 100%;
  text-align: center;
  border-radius:10px;
  cursor:pointer;
}
.button-admin:hover{
  color: white;
  background-color:rgba(187, 13, 35, 0.5);
  text-decoration: none;
}
.button-admin:visited{
  text-decoration: none;
}
 #gwd-reCAPTCHA_2, #rc-imageselect {
                        -webkit-transform: scale(0.77);
                        -moz-transform:    scale(0.77);
                        -ms-transform:     scale(0.77);
                        -o-transform:      scale(0.77);
                        transform:         scale(0.77);

                        -webkit-transform-origin: 0 0;
                        -moz-transform-origin: 0 0;
                        -ms-transform-origin: 0 0;
                        -o-transform-origin: 0 0;
                        transform-origin: 0 0;
    }

@media screen and (max-height: 575px){
	#rc-imageselect, .g-recaptcha {
	transform:scale(0.67);
	-webkit-transform:scale(0.67);
	transform-origin:0 0;
	-webkit-transform-origin:0 0;
	padding:0px !important;
	margin:-50px !important;
}
}


.btn-green {
  background-color: #007b5c;
  color: #fff;
}

label {
  font-weight: normal;
}

body {
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
body,
p,
label {
  font-family: Ancizar sans, Tahoma, Geneva, sans-serif !important;
}


.btn {
  white-space: normal;
}

.process-create-header {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.process-create-header-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.process-create-back-button {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 0.45rem;
  justify-content: center;
  min-width: 190px;
}

.process-create-back-button .material-symbols-outlined {
  font-size: 1.2rem;
}

@media (max-width: 767.98px) {
  .process-create-header {
    align-items: stretch;
    flex-direction: column;
  }

  .process-create-back-button {
    width: 100%;
  }
}


.box-team {
  background-color: white;
}

.btn-gray {
  background-color: #ababac;
  color: #fff;
}


.text-gray {
  color: #aaa9aa;
}

.card-header {
  background-color: transparent;
  border: none;
}

.card {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 25px;
}

.card-body {
  background-color: #fff;
}

.line-bottom-3:after {
  content: "";
  width: 3rem;
  height: 1px;
  background-color: #000;
  display: block;
  margin: auto;
}

.line-bottom-4:after {
  content: "";
  width: 4rem;
  height: 1px;
  background-color: #000;
  display: block;
  margin: auto;
}

.line-bottom-5:after {
  content: "";
  width: 5rem;
  height: 1px;
  background-color: #000;
  display: block;
  margin: auto;
}




label.file-input {
  width: 100%;
  background: #f2f2f2;
  border: 1px solid #dadada;
}

.processLine {
  width: 100%;
  height: 50px;
}

.processLine .point {
  width: 30%;
  position: relative;
  float: left;
  text-align: center;
  padding-top: 5px;
  color: #ababac;
  cursor: not-allowed;
}

.processLine .point:first-child {
  width: 20%;
  text-align: left;
}

.processLine .point:last-child {
  width: 20%;
  text-align: right;
}

.processLine .point:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background: #ababac;
  top: 0px;
  left: 0px;
}

.processLine .point:after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  background-color: #ababac;
  top: -4px;
  border-radius: 50px;
  left: 50%;
}

.processLine .point.active {
  color: #828282;
  cursor: pointer;
}

.processLine .point.active:before {
  background-color: #828282;
  cursor: pointer;
}

.processLine .point.active:after {
  background-color: #828282;
  cursor: pointer;
}

.processLine .point:first-child:after {
  left: 0%;
}

.processLine .point:last-child:after {
    display: none;
}

/* Alert System Styles */
.error-alert {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1050;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.alert-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.alert-icon {
    display: flex;
    align-items: center;
}

.alert-title {
    font-weight: 600;
    flex-grow: 1;
}

.alert-body {
    margin-top: 8px;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    opacity: 0.7;
}

.password-toggle {
    cursor: pointer;
}

/* Electoral process card management */
.cards-page {
    max-width: 1320px;
}

.cards-page-title {
    color: #222;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.1;
}

.cards-page-process {
    color: #52631f;
    font-size: 1.15rem;
    font-weight: 600;
}

.cards-back-button,
.cards-new-button,
.cards-action-button {
    align-items: center;
    display: inline-flex;
    gap: 0.4rem;
    justify-content: center;
}

.cards-back-button {
    min-width: 190px;
}

.cards-toolbar {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.cards-section-title {
    color: #2f2f2f;
    font-size: 1.35rem;
    font-weight: 700;
}

.cards-new-button {
    flex: 0 0 auto;
    min-width: 175px;
}

.cards-table-panel {
    background: #fff;
    border: 1px solid #e2e5e1;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.cards-table {
    min-width: 860px;
    table-layout: fixed;
}

.cards-table .cards-name-column {
    width: 21%;
}

.cards-table .cards-team-column {
    width: 14%;
}

.cards-table .cards-program-column {
    width: 43%;
}

.cards-table .cards-action-column {
    width: 22%;
}

.cards-table thead th {
    background: #f4f6f2;
    border-bottom: 1px solid #dfe3dc;
    color: #333;
    font-weight: 700;
    padding: 1rem;
    vertical-align: middle;
}

.cards-table tbody td {
    border-color: #eceeeb;
    padding: 1rem;
    vertical-align: middle;
}

.cards-card-name {
    color: #2b2b2b;
    font-size: 1.05rem;
    overflow-wrap: anywhere;
}

.cards-team-count {
    align-items: center;
    background: #e9f2df;
    border-radius: 999px;
    color: #3f531b;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    min-height: 2rem;
    min-width: 2rem;
    padding: 0.25rem 0.65rem;
}

.cards-program-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.cards-program-chip {
    background: #f0f4ed;
    border: 1px solid #dce5d6;
    border-radius: 6px;
    color: #37422e;
    display: inline-block;
    line-height: 1.35;
    padding: 0.35rem 0.55rem;
}

.cards-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.cards-action-button {
    min-width: 104px;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.cards-action-button .material-symbols-outlined,
.cards-back-button .material-symbols-outlined,
.cards-new-button .material-symbols-outlined {
    font-size: 1.2rem;
}

.cards-empty-state {
    color: #626862;
    padding: 3rem 1rem !important;
    text-align: center;
}

.cards-empty-state .material-symbols-outlined,
.cards-empty-state strong,
.cards-empty-state span {
    display: block;
}

.cards-empty-state .material-symbols-outlined {
    color: #657b2a;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cards-program-select {
    min-height: 10rem;
}

@media (max-width: 767.98px) {
    .cards-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .cards-back-button,
    .cards-new-button {
        width: 100%;
    }

    .cards-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Electoral process voter import */
.voters-page {
    max-width: 1180px;
}

.voters-page-title {
    color: #222;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.1;
}

.voters-page-process {
    color: #52631f;
    font-size: 1.15rem;
    font-weight: 600;
}

.voters-back-button,
.voters-template-button,
.voters-submit-button {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    justify-content: center;
}

.voters-back-button {
    min-width: 190px;
}

.voters-upload-panel,
.voters-failures-panel {
    background: #fff;
    border: 1px solid #e2e5e1;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.voters-upload-heading {
    align-items: center;
    background: #f4f6f2;
    border-bottom: 1px solid #dfe3dc;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
}

.voters-section-title {
    color: #2f2f2f;
    font-size: 1.35rem;
    font-weight: 700;
}

.voters-template-button {
    flex: 0 0 auto;
    min-width: 205px;
}

.voters-upload-body {
    padding: 2rem 1.5rem;
}

.voters-upload-form {
    margin: 0 auto;
    max-width: 780px;
}

.voters-file-input {
    height: auto;
    min-height: 48px;
    padding: 0.55rem 0.75rem;
}

.voters-file-input::file-selector-button {
    background: #eef2eb;
    border: 0;
    border-radius: 5px;
    color: #344221;
    cursor: pointer;
    font-weight: 600;
    margin-right: 0.8rem;
    padding: 0.45rem 0.75rem;
}

.voters-submit-row {
    display: flex;
    justify-content: flex-end;
}

.voters-submit-button {
    min-width: 190px;
}

.voters-back-button .material-symbols-outlined,
.voters-template-button .material-symbols-outlined,
.voters-submit-button .material-symbols-outlined {
    font-size: 1.2rem;
}

.voters-failures-heading {
    align-items: flex-start;
    background: #fff5dc;
    border-bottom: 1px solid #eedb9a;
    color: #5d4a0f;
    display: flex;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
}

.voters-failures-heading > .material-symbols-outlined {
    color: #9a7412;
    font-size: 1.6rem;
}

.voters-failures-table {
    min-width: 760px;
}

.voters-failures-table thead th {
    background: #f8f8f7;
    color: #333;
    font-weight: 700;
}

.voters-failures-table th,
.voters-failures-table td {
    padding: 0.9rem 1rem;
    vertical-align: top;
}

@media (max-width: 767.98px) {
    .voters-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .voters-back-button,
    .voters-template-button,
    .voters-submit-button {
        width: 100%;
    }

    .voters-upload-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .voters-upload-body {
        padding: 1.25rem 1rem;
    }

    .voters-submit-row {
        justify-content: stretch;
    }

    .voters-failures-heading {
        padding: 1rem;
    }
}

/* Electoral process candidate management */
.candidate-editor-title {
    color: #222;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.1;
}

.candidate-editor-process {
    color: #52631f;
    font-size: 1.15rem;
    font-weight: 600;
}

.candidate-editor-back-button,
.candidate-team-button {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    justify-content: center;
}

.candidate-editor-back-button {
    min-width: 205px;
}

.candidate-editor-heading {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.candidate-ballot-title {
    color: #2f2f2f;
    font-size: clamp(1.45rem, 2.5vw, 1.85rem);
    font-weight: 700;
}

.candidate-editor-notice {
    align-items: center;
    background: #fff5dc;
    border: 1px solid #eedb9a;
    border-radius: 8px;
    color: #6a5310;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.9rem;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
}

.candidate-editor-notice .material-symbols-outlined {
    color: #9a7412;
    font-size: 1.2rem;
}

.candidate-team-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.candidate-team-card {
    background: #fff;
    border: 1px solid #dfe4dc;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    min-height: 320px;
    overflow: hidden;
}

.candidate-team-header {
    align-items: center;
    background: #f4f6f2;
    border-bottom: 1px solid #e1e5de;
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
}

.candidate-team-icon {
    align-items: center;
    background: #e2ecd9;
    border-radius: 50%;
    color: #51691f;
    display: inline-flex;
    flex: 0 0 2.4rem;
    height: 2.4rem;
    justify-content: center;
    width: 2.4rem;
}

.candidate-team-icon .material-symbols-outlined {
    font-size: 1.35rem;
}

.candidate-team-title {
    color: #2f2f2f;
    font-size: 1.2rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.candidate-profile-grid {
    align-items: start;
    display: grid;
    flex: 1 1 auto;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    padding: 1.5rem 1.25rem 1rem;
}

.candidate-profile {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-self: center;
    max-width: 210px;
    text-align: center;
    width: 100%;
}

.candidate-profile-photo {
    background: #eef1ec;
    border: 3px solid #e0e6dc;
    border-radius: 50%;
    height: 96px;
    margin-bottom: 0.75rem;
    object-fit: cover;
    width: 96px;
}

.candidate-profile-name {
    color: #292929;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.candidate-profile-role {
    background: #e9f2df;
    border-radius: 999px;
    color: #42571b;
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
}

.candidate-team-actions {
    border-top: 1px solid #eceeeb;
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    padding: 1rem 1.25rem;
}

.candidate-team-button {
    min-width: 170px;
}

.candidate-editor-back-button .material-symbols-outlined,
.candidate-team-button .material-symbols-outlined {
    font-size: 1.2rem;
}

.candidate-empty-state {
    align-items: center;
    color: #626862;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.25rem;
    text-align: center;
}

.candidate-empty-state .material-symbols-outlined {
    color: #657b2a;
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}

.candidate-empty-state strong,
.candidate-empty-state span:not(.material-symbols-outlined) {
    display: block;
}

.candidate-blank-content {
    align-items: center;
    color: #545b51;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
}

.candidate-blank-symbol {
    align-items: center;
    background: #f0f2ef;
    border: 1px solid #e0e4de;
    border-radius: 50%;
    color: #596156;
    display: flex;
    height: 88px;
    justify-content: center;
    margin-bottom: 1rem;
    width: 88px;
}

.candidate-blank-symbol .material-symbols-outlined {
    font-size: 2.75rem;
}

@media (max-width: 991.98px) {
    .candidate-team-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .candidate-editor-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .candidate-editor-back-button,
    .candidate-team-button {
        width: 100%;
    }

    .candidate-editor-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
    }

    .candidate-editor-notice {
        align-items: flex-start;
        width: 100%;
    }

    .candidate-team-card {
        min-height: auto;
    }

    .candidate-profile-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .candidate-team-actions {
        justify-content: stretch;
    }
}

/* Electoral results administration */
.admin-results-title {
    color: #2f2f2f;
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 700;
    line-height: 1.15;
}

.admin-results-back-button,
.admin-results-action-button,
.admin-results-view-button {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    justify-content: center;
}

.admin-results-back-button {
    min-width: 180px;
}

.admin-results-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.admin-results-process-card {
    background: #fff;
    border: 1px solid #dfe4dc;
    border-radius: 1rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.admin-results-process-header {
    align-items: center;
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
    padding: 1.25rem;
}

.admin-results-process-main {
    align-items: flex-start;
    display: flex;
    flex: 1 1 420px;
    gap: 0.85rem;
    min-width: 0;
}

.admin-results-process-icon {
    align-items: center;
    background: #e2ecd9;
    border-radius: 50%;
    color: #51691f;
    display: inline-flex;
    flex: 0 0 2.75rem;
    height: 2.75rem;
    justify-content: center;
    width: 2.75rem;
}

.admin-results-process-icon .material-symbols-outlined {
    font-size: 1.45rem;
}

.admin-results-process-title {
    color: #2d2d2d;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.admin-results-status {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 600;
    gap: 0.3rem;
    padding: 0.25rem 0.65rem;
}

.admin-results-status .material-symbols-outlined {
    font-size: 1rem;
}

.admin-results-status.is-public {
    background: #e1f2e6;
    color: #29643c;
}

.admin-results-status.is-private {
    background: #f0f1ef;
    color: #5b6158;
}

.admin-results-process-actions {
    align-items: center;
    display: flex;
    flex: 0 1 auto;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.admin-results-action-form {
    display: flex;
    margin: 0;
}

.admin-results-action-button {
    min-height: 42px;
    min-width: 125px;
}

.admin-results-action-button .material-symbols-outlined,
.admin-results-back-button .material-symbols-outlined,
.admin-results-view-button .material-symbols-outlined {
    font-size: 1.15rem;
}

.admin-results-unpublish-button {
    background: #fff1c2;
    border: 1px solid #e4bd3c;
    color: #5f4900;
}

.admin-results-unpublish-button:hover,
.admin-results-unpublish-button:focus {
    background: #f3cf5c;
    color: #3c2e00;
}

.admin-results-card-list {
    border-top: 1px solid #e5e8e3;
}

.admin-results-card-row {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.9rem 1.25rem;
}

.admin-results-card-row + .admin-results-card-row {
    border-top: 1px solid #eceeeb;
}

.admin-results-card-name {
    align-items: center;
    color: #363a34;
    display: flex;
    font-weight: 600;
    gap: 0.65rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.admin-results-card-name .material-symbols-outlined {
    color: #657b2a;
    flex: 0 0 auto;
    font-size: 1.25rem;
}

.admin-results-view-button {
    flex: 0 0 auto;
    min-width: 160px;
}

.admin-results-empty-cards {
    align-items: center;
    color: #676d65;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 1.5rem;
}

.admin-results-empty-state {
    color: #626862;
    padding: 3rem 1.5rem;
    text-align: center;
}

.admin-results-empty-state .material-symbols-outlined {
    color: #657b2a;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 767.98px) {
    .admin-results-page {
        padding: 1rem !important;
    }

    .admin-results-back-button,
    .admin-results-view-button {
        width: 100%;
    }

    .admin-results-process-header {
        align-items: stretch;
        flex-direction: column;
        padding: 1rem;
    }

    .admin-results-process-main {
        flex-basis: auto;
    }

    .admin-results-process-actions {
        align-items: stretch;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-results-action-form,
    .admin-results-action-button {
        width: 100%;
    }

    .admin-results-card-row {
        align-items: stretch;
        flex-direction: column;
        padding: 1rem;
    }
}

/* Electoral statistics administration */
.admin-statistics-page {
    max-width: 1180px;
}

.admin-statistics-header {
    align-items: flex-start;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.admin-statistics-heading {
    min-width: 0;
}

.admin-statistics-eyebrow,
.admin-statistics-step {
    color: #60722a;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-statistics-title {
    color: #222;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
}

.admin-statistics-process-name {
    color: #52631f;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.admin-statistics-back-button,
.admin-statistics-generate-button {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    justify-content: center;
}

.admin-statistics-back-button {
    flex: 0 0 auto;
    min-width: 205px;
}

.admin-statistics-alert {
    align-items: center;
    display: flex;
    gap: 0.65rem;
}

.admin-statistics-alert .material-symbols-outlined {
    flex: 0 0 auto;
}

.admin-statistics-generate-panel {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #dfe4dc;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    display: flex;
    gap: 1.5rem;
    margin: 0 auto;
    max-width: 820px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.admin-statistics-generate-icon {
    align-items: center;
    background: #e2ecd9;
    border-radius: 50%;
    color: #51691f;
    display: inline-flex;
    flex: 0 0 4rem;
    height: 4rem;
    justify-content: center;
    width: 4rem;
}

.admin-statistics-generate-icon .material-symbols-outlined {
    font-size: 2rem;
}

.admin-statistics-generate-content {
    flex: 1 1 auto;
    min-width: 0;
}

.admin-statistics-section-title {
    color: #2f2f2f;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
}

.admin-statistics-description {
    color: #626862;
    line-height: 1.55;
    max-width: 680px;
}

.admin-statistics-warning {
    align-items: flex-start;
    background: #fff7df;
    border: 1px solid #ead28b;
    border-radius: 0.65rem;
    color: #654e0d;
    display: flex;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
}

.admin-statistics-warning .material-symbols-outlined {
    color: #937116;
    flex: 0 0 auto;
    font-size: 1.25rem;
}

.admin-statistics-form {
    max-width: 620px;
}

.admin-statistics-security-input {
    min-height: 48px;
}

.admin-statistics-form-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-end;
}

.admin-statistics-generate-button {
    background: #ffc107;
    border: 1px solid #d99f00;
    color: #302500;
    min-width: 210px;
}

.admin-statistics-generate-button:hover,
.admin-statistics-generate-button:focus {
    background: #eeb300;
    color: #241c00;
}

.admin-statistics-generate-button .material-symbols-outlined,
.admin-statistics-back-button .material-symbols-outlined {
    font-size: 1.2rem;
}

.admin-statistics-summary {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1.25rem;
}

.admin-statistics-summary-card {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe4dc;
    border-radius: 0.85rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 0.9rem;
    min-width: 0;
    padding: 1.15rem 1.25rem;
}

.admin-statistics-summary-card.is-highlighted {
    background: #f0f6ea;
    border-color: #bdceaa;
}

.admin-statistics-summary-icon {
    align-items: center;
    background: #e2ecd9;
    border-radius: 50%;
    color: #51691f;
    display: inline-flex;
    flex: 0 0 2.75rem;
    font-size: 1.4rem;
    height: 2.75rem;
    justify-content: center;
    width: 2.75rem;
}

.admin-statistics-summary-card > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-statistics-summary-label {
    color: #697067;
    font-size: 0.85rem;
    line-height: 1.25;
}

.admin-statistics-summary-card strong {
    color: #2f342d;
    font-size: 1.45rem;
    line-height: 1.25;
}

.admin-statistics-table-panel {
    background: #fff;
    border: 1px solid #dfe4dc;
    border-radius: 1rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.admin-statistics-table-heading {
    align-items: center;
    background: #f4f6f2;
    border-bottom: 1px solid #dfe4dc;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
}

.admin-statistics-count {
    background: #e1ebd8;
    border-radius: 999px;
    color: #465b1c;
    flex: 0 0 auto;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
}

.admin-statistics-table-scroll {
    max-width: 100%;
}

.admin-statistics-table {
    min-width: 840px;
    table-layout: auto;
    width: 100%;
}

.admin-statistics-table th,
.admin-statistics-table td {
    border-color: #e8ebe6;
    padding: 1rem 1.1rem;
    vertical-align: middle;
}

.admin-statistics-table thead th {
    background: #fafbfa;
    color: #454a43;
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
}

.admin-statistics-table tfoot th,
.admin-statistics-table tfoot td {
    background: #f0f6ea;
    color: #34421f;
    font-weight: 700;
}

.admin-statistics-card-name {
    color: #30352e;
    font-weight: 700;
    min-width: 150px;
}

.admin-statistics-programs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    min-width: 250px;
}

.admin-statistics-program-chip {
    background: #f0f4ed;
    border: 1px solid #dce5d6;
    border-radius: 999px;
    color: #37422e;
    display: inline-block;
    font-size: 0.85rem;
    line-height: 1.25;
    padding: 0.3rem 0.6rem;
}

.admin-statistics-participation-badge {
    background: #e1f2e6;
    border-radius: 999px;
    color: #29643c;
    display: inline-block;
    font-weight: 700;
    min-width: 76px;
    padding: 0.3rem 0.6rem;
    text-align: center;
}

@media (max-width: 991.98px) {
    .admin-statistics-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .admin-statistics-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .admin-statistics-header,
    .admin-statistics-generate-panel,
    .admin-statistics-table-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-statistics-back-button,
    .admin-statistics-form-actions > *,
    .admin-statistics-generate-button {
        width: 100%;
    }

    .admin-statistics-generate-icon {
        flex-basis: 4rem;
    }

    .admin-statistics-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .admin-statistics-count {
        align-self: flex-start;
    }
}

/* Shared electoral process administration layout */
.process-admin-page {
    max-width: 1180px;
}

.process-admin-header {
    align-items: flex-start;
    display: flex;
    gap: 2rem;
    justify-content: space-between;
}

.process-admin-heading {
    min-width: 0;
}

.process-admin-eyebrow {
    color: #60722a;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.process-admin-title {
    color: #222;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.process-admin-description {
    color: #666d63;
    font-size: 1rem;
}

.process-admin-process-name {
    color: #52631f;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.process-admin-back-button,
.process-admin-save-button {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    justify-content: center;
}

.process-admin-back-button {
    flex: 0 0 auto;
    min-width: 190px;
}

.process-admin-back-button .material-symbols-outlined,
.process-admin-save-button .material-symbols-outlined {
    font-size: 1.2rem;
}

.process-admin-panel {
    background: #fff;
    border: 1px solid #dfe4dc;
    border-radius: 1rem;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.process-admin-panel-heading {
    align-items: center;
    background: #f4f6f2;
    border-bottom: 1px solid #dfe4dc;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
}

.process-admin-section-title {
    color: #2f2f2f;
    font-size: 1.35rem;
    font-weight: 700;
}

.process-admin-count {
    align-items: center;
    background: #e1ebd8;
    border-radius: 999px;
    color: #465b1c;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 0.95rem;
    font-weight: 700;
    justify-content: center;
    min-height: 2.25rem;
    min-width: 2.25rem;
    padding: 0.3rem 0.7rem;
}

.process-admin-list {
    display: flex;
    flex-direction: column;
}

.process-admin-list-item {
    align-items: center;
    color: inherit;
    display: flex;
    gap: 1rem;
    min-height: 82px;
    padding: 1rem 1.5rem;
    text-decoration: none;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.process-admin-list-item + .process-admin-list-item {
    border-top: 1px solid #eceeeb;
}

.process-admin-list-item:hover,
.process-admin-list-item:focus {
    background: #f7faf5;
    color: inherit;
    text-decoration: none;
}

.process-admin-list-item:focus-visible,
.process-admin-option-card:focus-visible {
    box-shadow: inset 0 0 0 3px rgba(86, 111, 31, 0.28);
    outline: 0;
}

.process-admin-list-icon,
.process-admin-option-icon {
    align-items: center;
    background: #e2ecd9;
    border-radius: 50%;
    color: #51691f;
    display: inline-flex;
    flex: 0 0 2.75rem;
    height: 2.75rem;
    justify-content: center;
    width: 2.75rem;
}

.process-admin-list-icon .material-symbols-outlined,
.process-admin-option-icon .material-symbols-outlined {
    font-size: 1.45rem;
}

.process-admin-list-content,
.process-admin-option-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

.process-admin-list-content strong,
.process-admin-option-content strong {
    color: #30342e;
    font-size: 1.05rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.process-admin-list-content > span,
.process-admin-option-content > span {
    color: #6c7269;
    font-size: 0.9rem;
    margin-top: 0.15rem;
}

.process-admin-list-arrow,
.process-admin-option-arrow {
    color: #71805c;
    flex: 0 0 auto;
    transition: transform 0.18s ease;
}

.process-admin-list-item:hover .process-admin-list-arrow,
.process-admin-option-card:hover .process-admin-option-arrow {
    transform: translateX(3px);
}

.process-admin-option-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 1.5rem;
}

.process-admin-option-card {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe4dc;
    border-radius: 0.75rem;
    color: inherit;
    display: flex;
    gap: 1rem;
    min-height: 112px;
    padding: 1.15rem;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.process-admin-option-card:hover,
.process-admin-option-card:focus {
    border-color: #9cac7c;
    box-shadow: 0 5px 14px rgba(61, 78, 32, 0.1);
    color: inherit;
    text-decoration: none;
    transform: translateY(-1px);
}

.process-admin-notice {
    align-items: center;
    background: #fff5dc;
    border: 1px solid #eedb9a;
    border-radius: 0.5rem;
    color: #6a5310;
    display: inline-flex;
    flex: 0 1 auto;
    font-size: 0.9rem;
    gap: 0.4rem;
    padding: 0.65rem 0.85rem;
}

.process-admin-notice .material-symbols-outlined {
    color: #9a7412;
    flex: 0 0 auto;
    font-size: 1.2rem;
}

.process-admin-empty-state {
    align-items: center;
    color: #626862;
    display: flex;
    flex-direction: column;
    padding: 3rem 1.5rem;
    text-align: center;
}

.process-admin-empty-state > .material-symbols-outlined {
    color: #657b2a;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.process-admin-empty-state strong,
.process-admin-empty-state > span:not(.material-symbols-outlined) {
    display: block;
}

.process-admin-form {
    margin: 0 auto;
    max-width: 900px;
    padding: 2rem 1.5rem;
}

.process-admin-form .form-control {
    min-height: 46px;
}

.process-admin-form-actions {
    align-items: center;
    border-top: 1px solid #eceeeb;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.25rem;
}

.process-admin-save-button {
    min-width: 180px;
}

.flatpickr-calendar.process-date-picker-calendar {
    border: 1px solid #d8ddd5;
    box-shadow: 0 12px 30px rgba(35, 47, 29, 0.2);
    z-index: 20000 !important;
}

.process-date-picker-actions {
    align-items: center;
    background: #fff;
    border-top: 1px solid #e1e5df;
    display: flex;
    justify-content: flex-end;
    padding: 0.7rem 0.8rem;
}

.process-date-picker-confirm {
    background: #008c6c;
    border: 1px solid #008c6c;
    border-radius: 0.4rem;
    color: #fff;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    min-height: 38px;
    min-width: 104px;
    padding: 0.45rem 1rem;
}

.process-date-picker-confirm:hover,
.process-date-picker-confirm:focus-visible {
    background: #006f56;
    border-color: #006f56;
}

.process-date-picker-confirm:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 140, 108, 0.25);
    outline: 0;
}

@media (max-width: 767.98px) {
    .process-admin-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .process-admin-header,
    .process-admin-panel-heading,
    .process-admin-panel-heading-with-notice {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
    }

    .process-admin-back-button,
    .process-admin-save-button {
        width: 100%;
    }

    .process-admin-option-grid {
        grid-template-columns: minmax(0, 1fr);
        padding: 1rem;
    }

    .process-admin-list-item {
        padding: 1rem;
    }

    .process-admin-form {
        padding: 1.25rem 1rem;
    }

    .process-admin-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .process-admin-form-actions .btn {
        width: 100%;
    }
}
