body {
    font-family: Arial, sans-serif;
    margin: 0 auto;
    padding: 20px;
    background-color: #f4f4f4;
    width: 100%;
    max-width: 1200px;
    box-sizing: border-box;
}
.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.upload-section, .session-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}
.session-section select, .upload-section input[type="text"] {
    padding: 8px;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
    margin: 10px 0;
    box-sizing: border-box;
}
.upload-section input[type="file"] {
    margin: 10px 0;
}
.progress {
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
}
.progress-bar {
    width: 0;
    height: 20px;
    background-color: #28a745;
    transition: width 0.3s ease;
}
.progress-text {
    display: block;
    text-align: center;
    font-size: 14px;
    margin-top: 5px;
}
.vote-row {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    gap: 15px;
}
.image-column {
    flex: 0 0 auto;
    text-align: center;
}
.image-column img {
    max-width: 150px;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
}
.vote-column {
    flex: 0 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.vote-button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}
.vote-button:hover:not(:disabled) {
    background-color: #218838;
}
.vote-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
.vote-count {
    font-size: 14px;
    color: #333;
}
#total-likes {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
}
.fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}
.fullscreen-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}
.close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}
.message {
    font-size: 14px;
    margin-top: 10px;
}
.success {
    color: #28a745;
}
.error {
    color: #d32f2f;
}

/* Responsive design */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    .container {
        gap: 10px;
    }
    .vote-row {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px;
    }
    .image-column {
        flex: 0 0 auto;
    }
    .image-column img {
        max-width: 100px; /* Smaller images on mobile */
    }
    .vote-column {
        flex: 0 0 auto;
        align-items: center;
    }
    .vote-button {
        padding: 6px 12px;
        font-size: 12px;
    }
    .vote-count {
        font-size: 12px;
    }
    .session-section select, .upload-section input[type="text"] {
        max-width: 100%;
    }
    .fullscreen-image {
        max-width: 95%;
        max-height: 95%;
    }
}