@import url(https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap);:root{--color-primary:#0f59c1;--color-primary-variant:#0bafcf;--color-gray-0:#fff;--color-gray-100:#eee;--color-gray-200:#ccc;--color-gray-300:#bbb;--color-gray-400:#999;--color-gray-500:#777;--color-gray-600:#555;--color-gray-700:#333;--color-gray-800:#111;--color-gray-900:#000;--color-danger:#f64343;--color-success:#06a465;--radius-1:0.4rem;--radius-2:0.8rem;--radius-3:1.2rem;--radius-4:1.6rem;--radius-5:2rem;--container-w-lg:80%;--container-w-sm:94%;--transition:all 300ms ease}*{border:0;box-sizing:border-box;list-style:none;margin:0;padding:0;text-decoration:none}.dark{--color-gray-0:#0e0d14;--color-gray-100:#2f2b42;--color-gray-200:#45405e;--color-gray-300:#7b7b7b;--color-gray-400:#919191;--color-gray-500:#a1a1a1;--color-gray-600:#e6e5e5;--color-gray-700:#fafafa;--color-gray-900:#fff}body{background:#eee;background:var(--color-gray-100);color:#333;color:var(--color-gray-700);font-family:Monstserrat,sans-serif;font-size:1rem;line-height:1.6}.container{margin-inline:auto;width:80%;width:var(--container-w-lg)}h1,h2,h3,h4,h5,h6{color:#000;color:var(--color-gray-900);font-weight:800;line-height:1.1;text-transform:uppercase}h1{font-size:1.6rem}h2{font-size:1.3rem}h3{font-size:1.2rem}h4{font-size:1rem}h5{font-size:.75rem}a{font-size:.8rem}img{display:block;height:100%;object-fit:cover;width:100%}button{cursor:pointer}.btn{background:#eee;background:var(--color-gray-100);border-radius:.4rem;border-radius:var(--radius-1);color:#000;color:var(--color-gray-900);font-weight:600;padding:1rem 2rem;text-align:center;transition:all .3s ease;transition:var(--transition);width:-webkit-fit-content;width:fit-content}.btn.primary{background:#0f59c1;background:var(--color-primary);color:#fff}.btn.danger{background:#f64343;background:var(--color-danger);color:#fff}.btn.sm{padding:.5rem 1.2rem}.btn.full{width:100%}.btn.hover{background:#000;background:var(--color-gray-900);color:#fff;color:var(--color-gray-0)}.errorPage{background:#fff;background:var(--color-gray-0);display:grid;height:100vh;place-items:center;width:100vw}.erroPage__container{text-align:center;width:30rem}.erroPage__container h1{font-size:4rem}nav{background:#0f59c1;background:var(--color-primary);display:grid;height:3rem;left:0;place-items:center;position:fixed;top:0;width:100vw;z-index:1}.nav__container *{color:#fff}.nav__container{align-items:center;display:flex;justify-content:space-between}.nav__container div{align-items:center;display:flex;gap:4rem}.nav__logo{font-size:1.2rem;font-weight:700}.nav__toggle-btn{background:#0000;display:none;font-size:1.8rem}.nav__container a{transition:all .3s ease;transition:var(--transition)}.nav__container a:hover{color:#0bafcf;color:var(--color-primary-variant)}.nav__container menu{align-items:center;display:flex;gap:4rem}.theme__toggle-btn{background:#0000;display:flex;font-size:1.5rem;transition:all .3s ease;transition:var(--transition)}.theme__toggle-btn:hover{opacity:.75}.register{display:grid;height:100vh;place-items:center}.register__container{background:#fff;background:var(--color-gray-0);border-radius:2rem;border-radius:var(--radius-5);padding:3rem;width:35rem}.register__container h2{color:#0f59c1;color:var(--color-primary);margin-bottom:2rem}.register form{display:flex;flex-direction:column;gap:1.5rem}.elections__admin-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.elections__admin-actions .btn{flex:1 1 150px;font-size:14px;padding:12px 18px}.status-badge{border-radius:20px;font-size:12px;font-weight:600;letter-spacing:.5px;padding:4px 12px;position:absolute;right:10px;text-transform:uppercase;top:10px}.status-badge.upcoming{background-color:#fef3c7;color:#d97706}.status-badge.active{background-color:#d1fae5;color:#059669}.status-badge.ended{background-color:#fee2e2;color:#dc2626}.election__image{position:relative}.election__dates{border-top:1px solid #eee;margin:10px 0;padding:8px 0}.election__dates p{margin:4px 0}input[type=datetime-local]{border:1px solid #ddd;border-radius:6px;font-family:inherit;font-size:14px;padding:10px 12px;width:100%}input[type=datetime-local]:focus{border-color:#3498db;box-shadow:0 0 0 2px #3498db33;outline:none}input[type=datetime-local]:disabled{background-color:#f5f5f5;cursor:not-allowed}.register form input{background:#eee;background:var(--color-gray-100);border-radius:.4rem;border-radius:var(--radius-1);color:#000;color:var(--color-gray-900);padding:.7rem}.register form p>a{color:#0f59c1;color:var(--color-primary);font-size:1rem;font-weight:500;margin-left:10px}.form__error-message{background:#f64343;background:var(--color-danger);border-radius:.4rem;border-radius:var(--radius-1);color:#fff;color:var(--color-gray-0);padding:.6rem 1.5rem}.results{margin:5rem 0;margin-inline:auto;width:58rem}.result,.results__container{display:flex;flex-direction:column}.result{background:#fff;background:var(--color-gray-0);border-radius:1.6rem;border-radius:var(--radius-4);margin-bottom:1.5rem;overflow:hidden}.result__header{align-items:center;background:#eee;background:var(--color-gray-100);border:.5rem solid #fff;border:.5rem solid var(--color-gray-0);border-radius:1.5rem 1.5rem 0 0;display:flex;justify-content:space-between}.result__header-image{aspect-ratio:1/1;border-radius:50%;margin:1.5rem;overflow:hidden;width:3rem}.result__header h4{padding:1.5rem}.result__list{display:flex;flex-direction:column;gap:1.5rem;padding:1rem 2rem 2rem}.result__candidate{align-items:center;display:flex;gap:2rem}.result__candidate img{aspect-ratio:1/1;border-radius:1rem;height:3.5rem;overflow:hidden}.result__candidate-info{width:100%}.result__candidate-rating{align-items:center;display:flex;gap:1rem;justify-content:space-between}.result__candidate-loader{background:#eee;background:var(--color-gray-100);border-radius:.5rem;display:block;height:.4rem;margin-top:.5rem;overflow:hidden;width:100%}.result__candidate-loader span{background:linear-gradient(90deg,#0f59c1,#0bafcf);background:linear-gradient(90deg,var(--color-primary),var(--color-primary-variant));display:block;height:100%}.candidates{margin:5rem 0}.candidates__header{align-items:center;display:flex;flex-direction:column;margin-inline:auto;text-align:center;width:60%}.candidates__header p{margin-bottom:3rem}.candidates__header p .btn.btn.primary{justify-content:center}.candidates__container{grid-gap:3rem;display:grid;gap:3rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}.candidate{background:#fff;background:var(--color-gray-0);border:.5rem solid #fff;border:.5rem solid var(--color-gray-0);border-radius:1.2rem;border-radius:var(--radius-3);box-shadow:0 .5rem .5rem #0000001a;overflow:hidden;padding-bottom:1.2rem;text-align:center;transition:all .3s ease;transition:var(--transition)}.candidate:hover{border-color:#eee;border-color:var(--color-gray-100);box-shadow:none}.candidate__image{aspect-ratio:1/1;margin-inline:auto;margin-bottom:1.5rem;overflow:hidden;width:100%}.candidate small{display:block;margin:.5rem 0 1rem}.elections{margin:5rem 0}.elections__header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem;padding:.5rem}.elections__menu{display:flex;flex-direction:column;gap:2rem}.election{align-items:center;background:#fff;background:var(--color-gray-0);border:.5rem solid #fff;border:.5rem solid var(--color-gray-0);border-radius:1.2rem;border-radius:var(--radius-3);display:grid;grid-template-columns:17rem auto;overflow:hidden;transition:all .3s ease;transition:var(--transition)}.election__image{margin-right:2rem;max-height:13rem}.election__hover{box-shadow:0 .8rem .8rem #0000001a}.election__info{color:#0f59c1;color:var(--color-primary);margin-bottom:.7rem;padding:1rem 2rem;text-transform:uppercase}.election__cta{display:flex;gap:1.2rem;margin-top:1rem}.modal{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#000000b3;display:grid;height:100vh;left:0;place-items:center;position:fixed;top:0;width:100vw;z-index:2}.modal__content{background:#fff;background:var(--color-gray-0);border-radius:1.6rem;border-radius:var(--radius-4);overflow:hidden;width:35rem}.modal__header{align-items:center;background:#0f59c1;background:var(--color-primary);display:flex;justify-content:space-between;padding:2rem}.modal h4{color:#fff;width:10rem}.modal__header button{background:#0000;color:#fff;font-size:1.8rem}.modal__content form{display:flex;flex-direction:column;gap:1.5rem;margin-top:2rem;padding:2rem 2rem 3rem}.modal__content form input{background:#eee;background:var(--color-gray-100);border-radius:.4rem;border-radius:var(--radius-1);color:#000;color:var(--color-gray-900);margin-top:.6rem;padding:.8rem 1rem;width:100%}.congrats{height:100vh;padding:8rem 0;text-align:center}.congrats p{margin:.5rem 0 1.2rem}.confirm__vote-content{border-radius:1.2rem;border-radius:var(--radius-3);text-align:center}.dark .confirm__vote-content{background:#211f2e}.confirm__vote-content h5{color:#0f59c1;color:var(--color-primary);margin:2rem 0}.confirm__vote-image{aspect-ratio:1/1;border-radius:1.2rem;border-radius:var(--radius-3);margin-inline:auto;margin-bottom:2rem;overflow:hidden;width:20rem}.confirm__vote-content p{margin:.4rem 0 2.5rem;padding:0 2rem}.confirm__vote-cta{align-items:center;display:flex;gap:1.5rem;margin-inline:auto;margin-bottom:2rem;width:-webkit-fit-content;width:fit-content}.dark .confirm__vote-cta .btn{color:#fff}.electionDetails{margin:5rem 0}.electionDetails__image{height:15rem;margin:1.2rem 0 .8rem}.electionDetails__candidates{grid-gap:3rem;border-top:2px solid #ccc;border-top:2px solid var(--color-gray-200);display:grid;gap:3rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));margin-top:2.5rem;padding-top:2.5rem}.electionCandidate{background:#fff;background:var(--color-gray-0);border-radius:1.6rem;border-radius:var(--radius-4);overflow:hidden;position:relative;text-align:center}.electionCandidate__image{height:15rem;overflow:hidden}.electionCandidate h5{margin:.5rem 0 .3rem}.electionCandidate>div:nth-child(2){padding:1.4rem}.electionCandidate__btn{background:#f64343;background:var(--color-danger);border-radius:.6rem;color:#fff;color:var(--color-gray-0);display:flex;font-size:1.1rem;margin:1rem;padding:.5rem;position:absolute;right:0;top:0}.electionCandidate__btn:hover{background:#000;background:var(--color-gray-900)}.add__candidate-btn{background:#eee;background:var(--color-gray-100);border:2px solid #0f59c1;border:2px solid var(--color-primary);border-radius:1.6rem;border-radius:var(--radius-4);box-shadow:0 .8rem .8rem #0000001a;display:grid;font-size:5rem;min-height:15rem;place-items:center;transition:all .3s ease;transition:var(--transition)}.voters{margin:6rem 0 3rem}.voters h2{margin-bottom:3rem;text-align:center}.voters__table{width:100%}.voters__table thead th{padding:.7rem 1.5rem;text-align:left}.voters__table tbody td{padding:.7rem 1.5rem}.voters__table tbody tr:nth-child(odd){background:#fff;background:var(--color-gray-0)}.loader{display:grid;height:100%;padding-top:8rem;place-items:center;width:100%}.loader_container{height:7rem;width:7rem}footer{background:#0f59c1;background:var(--color-primary);color:#fff;font-family:Inter,sans-serif;margin-top:50px;padding:50px 0 20px}.footer__container{align-items:flex-start;display:flex;flex-wrap:wrap;gap:40px;justify-content:space-between}.footer__brand{flex:1 1;min-width:220px;text-align:left}.footer__logo-img{border:2px solid #fff;border-radius:12px;height:80px;margin-bottom:10px;object-fit:cover;width:80px}.footer__brand p{color:#bbb;font-size:15px;margin-top:5px}.footer__links{flex:1 1;min-width:200px}.footer__links h4,.footer__socials h4{color:#fff;font-size:18px;font-weight:600;margin-bottom:10px}.footer__links ul{list-style:none;padding:0}.footer__links li{margin:8px 0}.footer__links a{color:#bbb;font-size:15px;text-decoration:none;transition:.3s ease}.footer__links a:hover{color:#fff;padding-left:5px}.footer__socials{flex:1 1;min-width:200px}.social__icons a{color:#bbb;font-size:22px;margin-right:15px;transition:.3s ease}.social__icons a:hover{color:#fff;transform:translateY(-3px)}.footer__copyright{border-top:1px solid #fff;margin-top:30px;padding-top:15px;text-align:center}.footer__copyright p{color:#ccc;font-size:14px}.voters-page{background:#f7f9fc;min-height:100vh;padding:20px 0}.voters-page__header{align-items:center;display:flex;flex-wrap:wrap;gap:15px;justify-content:space-between;margin-bottom:25px}.voters-page__header h1{color:#111;font-size:28px;font-weight:700}.voters-page__header p{color:#555;font-size:15px}.voters-page__header .btn.primary{align-items:center;background:#2563eb;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;gap:8px;padding:10px 18px;transition:.2s ease}.voters-page__header .btn.primary:hover{background:#1d4ed8}.voters-page__search{margin-bottom:20px;position:relative;width:100%}.voters-page__search input{border:1px solid #d0d7e2;border-radius:6px;font-size:15px;padding:12px 14px 12px 40px;transition:.2s ease;width:100%}.voters-page__search input:focus{border-color:#2563eb;box-shadow:0 0 0 2px #2563eb1a;outline:none}.voters-page__search .search-icon{color:#888;left:12px;position:absolute;top:50%;transform:translateY(-50%)}.voters-table__wrapper{background:#fff;border-radius:8px;box-shadow:0 2px 6px #0000000d;overflow-x:auto;padding:12px}.voters-table{border-collapse:collapse;min-width:900px;width:100%}.voters-table td,.voters-table th{border-bottom:1px solid #eee;font-size:14px;padding:14px 12px;text-align:left}.voters-table th{background:#f0f4f9;color:#333;font-weight:600}.voters-table tr:hover{background:#fafafa}.no-data{color:#777;padding:20px;text-align:center}.badge{align-items:center;border-radius:20px;display:inline-flex;font-size:12px;font-weight:600;gap:5px;padding:4px 10px}.badge--admin{background:#2563eb;color:#fff}.badge--voter{background:#dbeafe;color:#1e40af}.badge--you{background:#10b981;color:#fff;margin-left:8px}.actions{display:flex;gap:10px}.btn-icon{background:none;border:none;border-radius:5px;cursor:pointer;font-size:18px;padding:6px;transition:.2s ease}.btn-icon.edit{color:#2563eb}.btn-icon.edit:hover{background:#dbeafe}.btn-icon.delete{color:#dc2626}.btn-icon.delete:hover{background:#fee2e2}.btn-icon:disabled{cursor:not-allowed;opacity:.5}.alert{border-radius:6px;font-size:14px;margin-bottom:15px;padding:12px 15px}.alert--error{background:#fee2e2;color:#b91c1c}.loading-overlay{align-items:center;background:#ffffffd9;bottom:0;color:#2563eb;display:flex;font-size:22px;font-weight:600;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:2000}@media (max-width:991px){.voters-page__header h1{font-size:24px}.voters-page__header{align-items:flex-start;flex-direction:column}}@media (max-width:600px){.voters-page__header{gap:10px}.voters-page__header h1{font-size:22px}.voters-table__wrapper{padding:5px}.btn-icon{font-size:16px}.badge{font-size:11px}}@media (max-width:768px){.footer__container{gap:30px;text-align:center}.footer__brand,.footer__links,.footer__socials{text-align:center}.social__icons a{margin-right:10px}}@media (max-width:480px){footer{padding:40px 0 15px}.footer__logo-img{height:70px;width:70px}.footer__links h4,.footer__socials h4{font-size:16px}.footer__links a{font-size:14px}.social__icons a{font-size:20px}}@media screen and (max-width:600px){.container{width:94%;width:var(--container-w-sm)}nav{height:4rem}.nav__container div{gap:3rem}.nav__toggle-btn{display:inline-block}.nav__container menu{flex-direction:column;gap:0;position:fixed;right:0;top:4rem;width:12rem}.nav__container menu a{background:#fff;background:var(--color-gray-0);border-bottom:1px solid #ccc;border-bottom:1px solid var(--color-gray-200);box-shadow:-2rem 4rem 2rem #0000001a;color:#000;color:var(--color-gray-900);display:grid;height:4rem;place-items:center;width:100%}.erroPage__container{width:100%}.register__container{margin-top:4rem;padding:3rem 1.5rem}.candidates__header,.modal__content,.results{width:94%;width:var(--container-w-sm)}.election{grid-template-columns:1fr}.election__info{padding:2rem 1rem}.election__image{height:100%;margin-bottom:1rem;width:100%}.voters__table tbody tr,.voters__table thead tr{display:flex;flex-direction:column}.voters__table tbody tr{width:100%}}
/*# sourceMappingURL=main.a2da0e84.css.map*/