/**
 * Polls.hu Theme - Additional Styles
 * Kiegészítő stílusok a szavazás funkcionalitáshoz
 */

/* ===========================================
   ÚJ SZAVAZÁS FORM STÍLUSOK
   =========================================== */
#pollform {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

#pollform label {
    display: block;
    margin: 15px 0 5px 0;
    font-weight: bold;
    color: #333;
}

#pollform input[type="text"],
#pollform textarea {
    width: calc(100% - 40px);
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

#pollform textarea {
    min-height: 100px;
    resize: vertical;
}

#poll_options {
    min-height: 120px;
}

.poll-options-extra {
    margin: 15px 0;
    text-align: left;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal !important;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.guest-notice {
    margin-top: 20px;
    padding: 15px;
    background: #fff8e1;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
    text-align: left;
}

.guest-notice p {
    margin: 0;
    font-size: 14px;
}

.guest-notice a {
    color: #1aa081;
    font-weight: bold;
}

/* ===========================================
   MEGOSZTÁS SZEKCIÓ
   =========================================== */
.share-section {
    margin: 30px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.share-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.share-title i {
    color: #1aa081;
    margin-right: 8px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: white;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.email { background: #ea4335; }
.share-btn.copy-link { background: #666; }

.share-link-box {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.share-link-box input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
}

#copy-feedback {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #1aa081;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

#copy-feedback.show {
    opacity: 1;
}

/* ===========================================
   BEJELENTKEZÉS AJÁNLÓ
   =========================================== */
.login-prompt {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #1aa081 0%, #0d7d63 100%);
    border-radius: 12px;
    color: white;
    text-align: center;
}

.login-prompt-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.login-prompt h3 {
    color: white;
    margin: 0 0 10px;
    font-size: 22px;
}

.login-prompt p {
    margin: 0 0 15px;
    opacity: 0.9;
    font-size: 15px;
}

.login-prompt .button {
    background: white;
    color: #1aa081;
}

.login-prompt .button:hover {
    background: #333;
    color: white;
}

/* ===========================================
   ADMIN BEÁLLÍTÁSOK
   =========================================== */
.admin-controls {
    margin: 25px 0;
    text-align: center;
}

.settings-btn {
    background: #555;
}

.settings-btn i {
    margin-right: 8px;
}

/* ===========================================
   POPUP STÍLUSOK
   =========================================== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.popup-small {
    max-width: 400px;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f5f5f5;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #ddd;
}

.popup-header.warning {
    background: #fff3cd;
    border-bottom-color: #ffc107;
}

.popup-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.popup-header h3 i {
    margin-right: 10px;
    color: #1aa081;
}

.popup-header.warning h3 i {
    color: #dc3545;
}

.popup-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 5px;
}

.popup-close:hover {
    color: #333;
}

.popup-body {
    padding: 20px;
}

.settings-form {
    margin-bottom: 20px;
}

.setting-group {
    margin-bottom: 15px;
}

.setting-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 18px;
}

.setting-group label i {
    margin-right: 8px;
    color: #1aa081;
}

.setting-help {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.popup-body hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 20px 0;
}

.button.small {
    padding: 10px 20px;
    font-size: 12px;
    min-width: auto;
}

.stats-summary {
    background: #f0f7f4;
    padding: 15px;
    border-radius: 8px;
}

.stats-summary h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.stats-summary h4 i {
    color: #1aa081;
}

.stats-summary p {
    margin: 0;
    font-size: 14px;
}

/* Törlés popup */
.delete-poll-title {
    font-weight: bold;
    font-size: 18px;
    color: #333;
    margin: 15px 0;
}

.warning-text {
    color: #dc3545;
    font-size: 14px;
}

.warning-text i {
    margin-right: 5px;
}

.popup-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.popup-actions .button {
    min-width: 100px;
}

.popup-actions .cancel {
    background: #999;
}

.popup-actions .delete-confirm {
    background: #dc3545;
}

/* ===========================================
   PROFIL OLDAL STÍLUSOK
   =========================================== */
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.profile-avatar img {
    border-radius: 50%;
    border: 3px solid #1aa081;
}

.profile-info .bigtext {
    font-size: 28px;
    margin-bottom: 5px;
}

.profile-email {
    color: #666;
    margin: 0;
}

.profile-actions {
    margin-bottom: 30px;
}

.polls-list {
    text-align: left;
}

.poll-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #1aa081;
    transition: box-shadow 0.2s;
}

.poll-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.poll-item.closed {
    border-left-color: #999;
    opacity: 0.8;
}

.poll-item-main {
    flex: 1;
}

.poll-item h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.poll-item h3 a {
    color: #333;
    text-decoration: none;
}

.poll-item h3 a:hover {
    color: #1aa081;
}

.poll-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.poll-status-badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.status-open {
    background: #d4edda;
    color: #155724;
}

.status-closed {
    background: #f8d7da;
    color: #721c24;
}

.poll-stats i,
.poll-date i {
    margin-right: 5px;
}

.poll-item-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    transition: transform 0.2s;
}

.action-btn:hover {
    transform: scale(1.1);
}

.action-btn.view { background: #17a2b8; }
.action-btn.edit { background: #ffc107; color: #333; }
.action-btn.delete { background: #dc3545; }

.empty-state {
    text-align: center;
    padding: 40px;
    color: #666;
}

.empty-state i {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 15px;
}

.profile-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.logout-link {
    color: #dc3545;
    text-decoration: none;
}

.logout-link:hover {
    color: #a71d2a;
}

/* ===========================================
   SZAVAZÁS STÁTUSZ
   =========================================== */
.poll-status {
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: bold;
}

.poll-status.closed {
    background: #f8d7da;
    color: #721c24;
}

.poll-status i {
    margin-right: 8px;
}

/* ===========================================
   RESZPONZÍV
   =========================================== */
@media screen and (max-width: 600px) {
    .share-buttons {
        gap: 8px;
    }
    
    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .poll-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .poll-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .poll-item-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .popup-content {
        width: 95%;
        margin: 10px;
    }
    
    .popup-actions {
        flex-direction: column;
    }
    
    .popup-actions .button {
        width: 100%;
    }
}

/* ===========================================
   EXISTING FIXES
   =========================================== */
#newanswer,
#closedvote {
    margin-top: 30px;
    padding: 20px;
    background: #f0f0f0;
    border-radius: 5px;
}

.poll-archive-item {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-left: 4px solid #1aa081;
}

.poll-archive-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.poll-archive-item h3 a {
    text-decoration: none;
    color: #333;
}

.poll-archive-item h3 a:hover {
    color: #1aa081;
}

.pagination {
    text-align: center;
    margin: 30px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.pagination a:hover {
    background: #1aa081;
    color: white;
}

.pagination .current {
    background: #1aa081;
    color: white;
}

.voteline:hover .szavazat {
    opacity: 0.7;
}

.szam {
    font-weight: normal;
}

.form-error {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 5px;
}

.field.error {
    border-color: #d32f2f;
}

/* Info box */
.info {
    background-color: #eaf9f0;
    padding: 20px;
    margin-bottom: 20px;
    border: 3px solid #1aa081;
    border-radius: 8px;
}

.info p {
    margin: 0;
}

/* ===========================================
   SZAVAZAT RÖGZÍTVE OLDAL
   =========================================== */
.vote-confirmed-page .post {
    max-width: 700px;
    margin: 0 auto;
}

.success-icon {
    font-size: 80px;
    color: #1aa081;
    margin-bottom: 10px;
}

.success-message {
    background: #eaf9f0;
    border: 2px solid #1aa081;
    border-radius: 12px;
    padding: 25px;
    margin: 20px 0 30px;
}

.success-message p {
    margin: 0 0 15px;
}

.success-message p:last-child {
    margin-bottom: 0;
}

.voted-on {
    font-size: 18px;
}

.share-after-vote {
    margin: 30px 0;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 12px;
    text-align: center;
}

.share-after-vote h3 {
    margin-top: 0;
    color: #333;
}

.share-after-vote h3 i {
    color: #1aa081;
}

/* Szavazás listák */
.popular-polls-section,
.recent-polls-section {
    margin: 30px 0;
    text-align: left;
}

.popular-polls-section h3,
.recent-polls-section h3 {
    color: #333;
    border-bottom: 2px solid #1aa081;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.popular-polls-section h3 i { color: #ff6b35; }
.recent-polls-section h3 i { color: #1aa081; }

.poll-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.poll-list-item {
    margin-bottom: 8px;
}

.poll-list-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #f9f9f9;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
    border-left: 3px solid #1aa081;
}

.poll-list-item a:hover {
    background: #eaf9f0;
    transform: translateX(5px);
}

.poll-list-item.closed a {
    border-left-color: #999;
    opacity: 0.7;
}

.poll-list-item .poll-title {
    font-weight: 500;
    flex: 1;
}

.poll-list-item .poll-meta {
    font-size: 13px;
    color: #666;
    display: flex;
    gap: 15px;
}

.poll-list-item .vote-count i,
.poll-list-item .poll-date i {
    margin-right: 5px;
}

.poll-list-item .status-closed {
    color: #dc3545;
}

/* CTA szekció */
.cta-section {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #1aa081 0%, #0d7d63 100%);
    border-radius: 12px;
    color: white;
    text-align: center;
}

.cta-section h3 {
    color: white;
    margin-top: 0;
    font-size: 24px;
}

.cta-section p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-section .button {
    background: white;
    color: #1aa081;
}

.cta-section .button:hover {
    background: #333;
    color: white;
}

.button.large {
    padding: 18px 35px;
    font-size: 16px;
}

.button.large i {
    margin-right: 10px;
}

/* Info szekció */
.info-section {
    margin: 40px 0;
    text-align: left;
}

.info-section h3 {
    text-align: center;
    margin-bottom: 25px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.info-item {
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    text-align: center;
}

.info-item i {
    font-size: 35px;
    color: #1aa081;
    margin-bottom: 10px;
}

.info-item h4 {
    margin: 10px 0;
    font-size: 16px;
}

.info-item p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.back-home {
    margin-top: 30px;
    text-align: center;
}

.button.secondary {
    background: #666;
}

.button.secondary i {
    margin-right: 8px;
}

/* Reszponzív */
@media screen and (max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .poll-list-item a {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .poll-list-item .poll-meta {
        width: 100%;
        justify-content: flex-start;
    }
    
    .success-icon {
        font-size: 60px;
    }
}

/* ===========================================
   KEZDŐOLDAL STÍLUSOK
   =========================================== */

/* Hero szekció */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1aa081 0%, #0d5c4a 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 60px 0;
}

.hero-section h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: white;
}

.hero-section h1 span {
    display: block;
    color: #ffd700;
}

.hero-subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-buttons .button.secondary {
    background: transparent;
    border: 2px solid white;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: bold;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
}

/* Hogyan működik */
.how-it-works-section {
    background: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

.how-it-works-section h2 {
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.step-item {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: #1aa081;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    line-height: 30px;
}

.step-icon {
    font-size: 40px;
    color: #1aa081;
    margin: 15px 0;
}

.step-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.step-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Funkciók */
.features-section {
    padding: 60px 0;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 30px auto 0;
}

.feature-item {
    padding: 25px 15px;
    border-radius: 10px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: #f5f5f5;
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 35px;
    color: #1aa081;
    margin-bottom: 15px;
}

.feature-item h4 {
    margin: 0 0 10px;
    font-size: 16px;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Népszerű szavazások */
.popular-section {
    background: #1aa081;
    padding: 60px 0;
    color: white;
    text-align: center;
}

.popular-section h2 {
    color: white;
    margin-bottom: 10px;
}

.popular-section h2 i {
    color: #ffd700;
}

.popular-section .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.polls-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.poll-card {
    display: block;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px 20px;
    text-decoration: none;
    color: white;
    transition: all 0.3s;
    background-size: cover;
    background-position: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.poll-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.poll-card h3 {
    font-size: 18px;
    margin: 0 0 10px;
    color: white;
}

.poll-card-meta {
    font-size: 13px;
    opacity: 0.8;
    display: flex;
    gap: 15px;
}

.poll-card-meta i {
    margin-right: 5px;
}

.see-all {
    margin-top: 30px;
}

.see-all .button {
    background: white;
    color: #1aa081;
}

.no-polls {
    opacity: 0.8;
}

/* Legújabb szavazások */
.recent-section {
    padding: 60px 0;
    text-align: center;
}

.recent-section h2 i {
    color: #1aa081;
}

.recent-polls-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 30px auto 0;
    text-align: left;
}

.recent-polls-list li {
    margin-bottom: 8px;
}

.recent-polls-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.recent-polls-list a:hover {
    background: #eaf9f0;
    transform: translateX(5px);
}

.recent-polls-list .poll-title {
    font-weight: 500;
}

.recent-polls-list .poll-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
}

.badge {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.badge.open {
    background: #d4edda;
    color: #155724;
}

.badge.closed {
    background: #f8d7da;
    color: #721c24;
}

.recent-polls-list .date {
    color: #999;
}

/* CTA szekció */
.cta-section-home {
    background: linear-gradient(135deg, #333 0%, #111 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.cta-section-home h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 10px;
}

.cta-section-home p {
    opacity: 0.8;
    margin-bottom: 25px;
}

.button.white {
    background: white;
    color: #333;
}

/* ===========================================
   LÁTHATÓSÁGI BEÁLLÍTÁSOK
   =========================================== */
.visibility-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.visibility-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.visibility-option:hover {
    background: #eee;
}

.visibility-option.selected {
    border-color: #1aa081;
    background: #eaf9f0;
}

.visibility-option input[type="radio"] {
    display: none;
}

.visibility-option i {
    font-size: 20px;
    color: #666;
    width: 25px;
    text-align: center;
}

.visibility-option.selected i {
    color: #1aa081;
}

.visibility-option .option-title {
    font-weight: bold;
    display: block;
}

.visibility-option .option-desc {
    font-size: 12px;
    color: #666;
    display: block;
}

/* Képfeltöltés */
.current-image {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 8px;
}

.current-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
}

.remove-image-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
}

.remove-image-btn:hover {
    background: #c82333;
}

.image-upload-box {
    position: relative;
    margin-top: 10px;
}

.image-upload-box input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.upload-label:hover {
    border-color: #1aa081;
    background: #f9f9f9;
}

.upload-label i {
    font-size: 30px;
    color: #999;
    margin-bottom: 10px;
}

.upload-label span {
    font-size: 14px;
    color: #666;
}

#selected-file-name {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #1aa081;
}

.checkbox-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal !important;
}

.checkbox-inline input {
    width: 18px;
    height: 18px;
}

.popup-large {
    max-width: 550px;
}

/* ===========================================
   VÁLASZOK KEZELÉSE
   =========================================== */
.answers-list {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 10px;
}

.answer-manage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #f5f5f5;
    border-radius: 6px;
    margin-bottom: 6px;
    transition: all 0.2s;
}

.answer-manage-item:hover {
    background: #eee;
}

.answer-info {
    flex: 1;
    min-width: 0;
}

.answer-text {
    display: block;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.answer-votes {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.answer-actions {
    display: flex;
    gap: 6px;
    margin-left: 10px;
}

.btn-edit,
.btn-delete {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-edit {
    background: #ffc107;
    color: #333;
}

.btn-edit:hover {
    background: #e0a800;
    transform: scale(1.1);
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
    transform: scale(1.1);
}

.no-answers {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

.delete-answer-title {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    margin: 10px 0;
}

.delete-answer-votes {
    color: #dc3545;
    font-size: 14px;
}

/* Reszponzív kezdőoldal */
@media screen and (max-width: 800px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .steps-grid,
    .features-grid,
    .polls-grid {
        grid-template-columns: 1fr;
    }
    
    .polls-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 500px) {
    .hero-section {
        min-height: 400px;
    }
    
    .hero-section h1 {
        font-size: 26px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .button {
        width: 100%;
        max-width: 280px;
    }
    
    .polls-grid {
        grid-template-columns: 1fr;
    }
    
    .visibility-options {
        gap: 8px;
    }
    
    .visibility-option {
        padding: 10px 12px;
    }
}
