.elementor-kit-8{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-8 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* Stylizacja przycisków głosowania, gdy są nieaktywne */
.vote-button.disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Rozmycie wyników */
.blurred-results {
  filter: blur(8px);
}

/* Ukrywanie przycisków udostępniania, gdy wyniki są odsłonięte */
.no-share .share-button {
  display: none;
}

/* Ukrywanie sekcji wyników na start */
#results-section {
  display: ;
}
/* Stylizacja Modułu do Głosowania */
.voting-module {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.voting-module h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

/* Sekcja kandydatów */
.candidates {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.candidate {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.candidate .candidate-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.candidate label {
    font-size: 18px;
    margin-bottom: 10px;
}

.candidate button {
    background-color: #007aff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
}

.candidate button:hover {
    background-color: #005bb5;
    transform: scale(1.05);
}

.candidate button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.voting-module h3 {
    margin-top: 30px;
    font-size: 22px;
}

/* Sekcja zwycięzcy */
#winner-section {
    text-align: center;
    margin-bottom: 20px;
}

.winner-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 20px auto;
    display: block;
}

#winner-name {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}

/* Wyniki z paskami postępu */
.result-bar {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.candidate-name {
    width: 100px;
    text-align: left;
    font-weight: bold;
}

.progress-bar {
    flex: 1;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 10px;
    height: 20px;
}

.progress-fill {
    height: 100%;
    background-color: #007aff;
    width: 0%;
    transition: width 0.5s ease-in-out;
}

#percentage1,
#percentage2,
#percentage3,
#percentage4,
#percentage5 {
    width: 50px;
    text-align: right;
}

#share-buttons button {
    background-color: #007aff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin-right: 10px;
    transition: background-color 0.3s, transform 0.2s;
}

#share-buttons button:hover {
    background-color: #005bb5;
    transform: scale(1.05);
}

#back-button {
    background-color: #6c757d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
}

#back-button:hover {
    background-color: #5a6268;
    transform: scale(1.05);
}

#already-voted-message {
    color: red;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .voting-module {
        padding: 20px;
    }
}/* End custom CSS */